]> git.baikalelectronics.ru Git - kernel.git/commit
ALSA: hda - Disable audio component for legacy Nvidia HDMI codecs
authorTakashi Iwai <tiwai@suse.de>
Fri, 22 Nov 2019 13:20:00 +0000 (14:20 +0100)
committerTakashi Iwai <tiwai@suse.de>
Fri, 22 Nov 2019 13:21:48 +0000 (14:21 +0100)
commit79327cbe4025ae47b887a22e3f42bb4b96da0fd0
treeb89297941faad13b095a20707ac61366eafa18ee
parente5e8432a29fd2bdb2c26049140e8f3ff0831866c
ALSA: hda - Disable audio component for legacy Nvidia HDMI codecs

The old Nvidia chips have multiple HD-audio codecs on the same
HD-audio controller, and this doesn't work as expected with the current
audio component binding that is implemented under the one-codec-per-
controller assumption; at the probe time, the driver leads to several
kernel WARNING messages.

For the proper support, we may change the pin2port and port2pin to
traverse the codec list per the given pin number, but this needs more
development and testing.

As a quick workaround, instead, this patch drops the binding in the
audio side for these legacy chips since the audio component support in
nouveau graphics driver is still not merged (hence it's basically
unused).

BugLink: https://bugzilla.kernel.org/show_bug.cgi?id=205625
Fixes: cd82d54887dd ("ALSA: hda/hdmi - Allow audio component for AMD/ATI and Nvidia HDMI")
Link: https://lore.kernel.org/r/20191122132000.4460-1-tiwai@suse.de
Signed-off-by: Takashi Iwai <tiwai@suse.de>
sound/pci/hda/patch_hdmi.c