]> git.baikalelectronics.ru Git - kernel.git/commit
ALSA: hda - Don't override ADC definitions for ALC codecs
authorTakashi Iwai <tiwai@suse.de>
Tue, 11 Aug 2009 06:45:11 +0000 (08:45 +0200)
committerTakashi Iwai <tiwai@suse.de>
Tue, 11 Aug 2009 06:45:11 +0000 (08:45 +0200)
commita12372ffa5939b1e5d7104737ecba90e137f1e50
tree7bff685dfde51f46ba424fa194b52e2966ef36f1
parent5c08b45efdc4d603df08c0ce9bceb779114bb481
ALSA: hda - Don't override ADC definitions for ALC codecs

ALC269 and ALC861-VD parsers override the ADC definitions
unconditionally without checking the spec definition.  This causes
the problem when any inconsistent ADC is set up in the device quirk
(like ALC272 with digital-mic).

This patch avoids the overriding by adding the proper checks.

Reference: Novell bnc#529467
https://bugzilla.novell.com/show_bug.cgi?id=529467

Signed-off-by: Takashi Iwai <tiwai@suse.de>
sound/pci/hda/patch_realtek.c