]> git.proxmox.com Git - mirror_ubuntu-zesty-kernel.git/commit
ALSA: hda - Raise AZX_DCAPS_RIRB_DELAY handling into top drivers
authorTakashi Iwai <tiwai@suse.de>
Thu, 17 Dec 2015 07:23:39 +0000 (08:23 +0100)
committerLuis Henriques <luis.henriques@canonical.com>
Tue, 6 Dec 2016 16:51:32 +0000 (16:51 +0000)
commite255e713dffcf13aaa6a607af83839045d02beef
treef980204185ff58c833c74590a238f4bddf144d68
parentf248461625b40c2db719912ff07e7784b56dda63
ALSA: hda - Raise AZX_DCAPS_RIRB_DELAY handling into top drivers

BugLink: http://bugs.launchpad.net/bugs/1642572
commit 7d9a180895ee8c301df7f9447429009795c56c21 upstream.

AZX_DCAPS_RIRB_DELAY is dedicated only for Nvidia and its purpose is
just to set a flag in bus.  So it's better to be set in the toplevel
driver, either hda_intel.c or hda_tegra.c, instead of the common
hda_controller.c.  This also allows us to strip this flag from dcaps,
so save one more bit there.

Signed-off-by: Takashi Iwai <tiwai@suse.de>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Signed-off-by: Luis Henriques <luis.henriques@canonical.com>
sound/pci/hda/hda_controller.c
sound/pci/hda/hda_controller.h
sound/pci/hda/hda_intel.c
sound/pci/hda/hda_tegra.c