提交 f3550d1b 编写于 作者: T Takashi Iwai

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: NTakashi Iwai <tiwai@suse.de>
上级 d433a678
......@@ -14593,7 +14593,11 @@ static int alc269_parse_auto_config(struct hda_codec *codec)
err = alc269_auto_create_multi_out_ctls(spec, &spec->autocfg);
if (err < 0)
return err;
err = alc269_auto_create_input_ctls(codec, &spec->autocfg);
if (spec->codec_variant == ALC269_TYPE_NORMAL)
err = alc269_auto_create_input_ctls(codec, &spec->autocfg);
else
err = alc_auto_create_input_ctls(codec, &spec->autocfg, 0,
0x22, 0);
if (err < 0)
return err;
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册