ALSA: hda - Fix capture source checks for ALC662/663 codecs
authorTakashi Iwai <tiwai@suse.de>
Wed, 14 Oct 2009 16:25:23 +0000 (18:25 +0200)
committerTakashi Iwai <tiwai@suse.de>
Wed, 14 Oct 2009 16:25:23 +0000 (18:25 +0200)
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 <tiwai@suse.de>
sound/pci/hda/patch_realtek.c

index c08ca66..9b1cff8 100644 (file)
@@ -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,