From: Takashi Iwai Date: Mon, 22 Jun 2009 08:50:19 +0000 (+0200) Subject: ALSA: hda - Fix check of input source type for realtek codecs X-Git-Tag: v2.6.31-rc1~38^2~3^2~2 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=0169b6b33b2b4d9e66e98afc56272e5fbd350df4;p=pandora-kernel.git ALSA: hda - Fix check of input source type for realtek codecs Fix the check of the input-source type by checking the widget type of each capture-source item. Since some codecs can have both the mixer and selector types depending on the ADC, alc_mux_enum_put() needs to check each widget. With this change, spec->capture_style gets unneeded, so it's removed, too. Signed-off-by: Takashi Iwai --- Reading git-diff-tree failed