From: Takashi Iwai Date: Tue, 8 Dec 2009 11:52:47 +0000 (+0100) Subject: ALSA: hda - Exclude unusable ADCs for ALC88x X-Git-Tag: v2.6.33-rc1~336^2~1^2~4 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=d11f74c62fb4a1fefd39085570fb6dfa7b9ab2bb;p=pandora-kernel.git ALSA: hda - Exclude unusable ADCs for ALC88x On Realtek codecs, a digital mic pin is connected often only to a single ADC. But the parser tries to set up all ADCs no matter whether the digital mic is available, and results in non-selectable input source. This patch adds a check of input-source availability of each ADC, and excludes ones that don't support all input sources. Reference: Novell bnc#561235 http://bugzilla.novell.com/show_bug.cgi?id=561235 Signed-off-by: Takashi Iwai --- Reading git-diff-tree failed