Skip to content

Commit

Permalink
ALSA: hda - Fix capture widget for ALC269vb and co
Browse files Browse the repository at this point in the history
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>
  • Loading branch information
Takashi Iwai committed Sep 20, 2010
1 parent d433a67 commit f3550d1
Showing 1 changed file with 5 additions and 1 deletion.
6 changes: 5 additions & 1 deletion sound/pci/hda/patch_realtek.c
Original file line number Diff line number Diff line change
Expand Up @@ -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;

Expand Down

0 comments on commit f3550d1

Please sign in to comment.