From: Takashi Iwai Date: Wed, 14 Oct 2009 16:25:23 +0000 (+0200) Subject: ALSA: hda - Fix capture source checks for ALC662/663 codecs X-Git-Tag: v2.6.32-rc6~14^2^2~3 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=4b7348a15972274eb16182d10987f69da3e95719;p=platform%2Fkernel%2Flinux-3.10.git ALSA: hda - Fix capture source checks for ALC662/663 codecs The ALC662/663 parser calls wrongly alc880_auto_create_input_ctls() to check the capture source selections. This should be alc882, instead. Reference: Novell bnc#546918 http://bugzilla.novell.com/show_bug.cgi?id=546918 Signed-off-by: Takashi Iwai --- diff --git a/sound/pci/hda/patch_realtek.c b/sound/pci/hda/patch_realtek.c index c08ca66..9b1cff8 100644 --- a/sound/pci/hda/patch_realtek.c +++ b/sound/pci/hda/patch_realtek.c @@ -17374,7 +17374,7 @@ static int alc662_auto_create_extra_out(struct hda_codec *codec, hda_nid_t pin, /* create playback/capture controls for input pins */ #define alc662_auto_create_input_ctls \ - alc880_auto_create_input_ctls + alc882_auto_create_input_ctls static void alc662_auto_set_output_and_unmute(struct hda_codec *codec, hda_nid_t nid, int pin_type,