Commit 29d4ab4d authored by Herton Ronaldo Krzesinski's avatar Herton Ronaldo Krzesinski Committed by Takashi Iwai

ALSA: hda - Don't call stac92xx_parse_auto_config with wrong dig_in

Don't use uneeded/wrong third parameter for stac92xx_parse_auto_config
in patch_stac92hd71bxx (no SPDIF in).
Signed-off-by: default avatarHerton Ronaldo Krzesinski <herton@mandriva.com.br>
Signed-off-by: default avatarTakashi Iwai <tiwai@suse.de>
parent 6df703ae
...@@ -5184,7 +5184,7 @@ static int patch_stac92hd71bxx(struct hda_codec *codec) ...@@ -5184,7 +5184,7 @@ static int patch_stac92hd71bxx(struct hda_codec *codec)
if (spec->dinput_mux) if (spec->dinput_mux)
spec->private_dimux.num_items += spec->num_dmics - ndmic_nids; spec->private_dimux.num_items += spec->num_dmics - ndmic_nids;
err = stac92xx_parse_auto_config(codec, 0x21, 0x23); err = stac92xx_parse_auto_config(codec, 0x21, 0);
if (!err) { if (!err) {
if (spec->board_config < 0) { if (spec->board_config < 0) {
printk(KERN_WARNING "hda_codec: No auto-config is " printk(KERN_WARNING "hda_codec: No auto-config is "
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment