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)
commitdd704698f56c1451fc9c5daadcd6e3a089de2c40
tree7bff685dfde51f46ba424fa194b52e2966ef36f1
parent100d5eb36ba20dc0b99a17ea2b9800c567bfc3d1
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