aboutsummaryrefslogtreecommitdiffstats
path: root/sound/pci
diff options
context:
space:
mode:
authorTakashi Iwai <tiwai@suse.de>2010-09-20 09:09:03 -0400
committerTakashi Iwai <tiwai@suse.de>2010-09-20 09:36:03 -0400
commitf3550d1b052a8acf4159b407dbdd1def47f223f9 (patch)
tree7bbb4cb66ecb71ba667b81d8cb38c46ff56e60ae /sound/pci
parentd433a67831ab2c470cc53a3ff9b60f656767be15 (diff)
ALSA: hda - Fix capture widget for ALC269vb and co
ALC269vb and other variants don't use the widgets 0x24 but prefer the widget 0x22 instead. We need to fix the input parser. Signed-off-by: Takashi Iwai <tiwai@suse.de>
Diffstat (limited to 'sound/pci')
-rw-r--r--sound/pci/hda/patch_realtek.c6
1 files changed, 5 insertions, 1 deletions
diff --git a/sound/pci/hda/patch_realtek.c b/sound/pci/hda/patch_realtek.c
index 9bcf34eab679..4abe3da1240c 100644
--- a/sound/pci/hda/patch_realtek.c
+++ b/sound/pci/hda/patch_realtek.c
@@ -14593,7 +14593,11 @@ static int alc269_parse_auto_config(struct hda_codec *codec)
14593 err = alc269_auto_create_multi_out_ctls(spec, &spec->autocfg); 14593 err = alc269_auto_create_multi_out_ctls(spec, &spec->autocfg);
14594 if (err < 0) 14594 if (err < 0)
14595 return err; 14595 return err;
14596 err = alc269_auto_create_input_ctls(codec, &spec->autocfg); 14596 if (spec->codec_variant == ALC269_TYPE_NORMAL)
14597 err = alc269_auto_create_input_ctls(codec, &spec->autocfg);
14598 else
14599 err = alc_auto_create_input_ctls(codec, &spec->autocfg, 0,
14600 0x22, 0);
14597 if (err < 0) 14601 if (err < 0)
14598 return err; 14602 return err;
14599 14603