Skip to content

Commit

Permalink
ALSA: hda - Don't call stac92xx_parse_auto_config with wrong dig_in
Browse files Browse the repository at this point in the history
Don't use uneeded/wrong third parameter for stac92xx_parse_auto_config
in patch_stac92hd71bxx (no SPDIF in).

Signed-off-by: Herton Ronaldo Krzesinski <herton@mandriva.com.br>
Signed-off-by: Takashi Iwai <tiwai@suse.de>
  • Loading branch information
Herton Ronaldo Krzesinski authored and Takashi Iwai committed Feb 5, 2009
1 parent 6df703a commit 29d4ab4
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion sound/pci/hda/patch_sigmatel.c
Original file line number Diff line number Diff line change
Expand Up @@ -5184,7 +5184,7 @@ static int patch_stac92hd71bxx(struct hda_codec *codec)
if (spec->dinput_mux)
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 (spec->board_config < 0) {
printk(KERN_WARNING "hda_codec: No auto-config is "
Expand Down

0 comments on commit 29d4ab4

Please sign in to comment.