ALSA: hda - Fix ALC861-VD capture source mixer
authorTakashi Iwai <tiwai@suse.de>
Tue, 12 Jan 2010 13:00:11 +0000 (14:00 +0100)
committerTakashi Iwai <tiwai@suse.de>
Tue, 12 Jan 2010 13:02:13 +0000 (14:02 +0100)
The capture source or input source mixer element wasn't created properly
for ALC861-VD codec due to the wrong NID passed to
alc_auto_create_input_ctls().

References: Novell bnc#568305
http://bugzilla.novell.com/show_bug.cgi?id=568305

Signed-off-by: Takashi Iwai <tiwai@suse.de>
Cc: <stable@kernel.org>
sound/pci/hda/patch_realtek.c

index c746505..e3caa78 100644 (file)
@@ -15493,7 +15493,7 @@ static struct alc_config_preset alc861vd_presets[] = {
 static int alc861vd_auto_create_input_ctls(struct hda_codec *codec,
                                                const struct auto_pin_cfg *cfg)
 {
-       return alc_auto_create_input_ctls(codec, cfg, 0x15, 0x09, 0);
+       return alc_auto_create_input_ctls(codec, cfg, 0x15, 0x22, 0);
 }