ALSA: hda - Don't call stac92xx_parse_auto_config with wrong dig_in
authorHerton Ronaldo Krzesinski <herton@mandriva.com.br>
Wed, 4 Feb 2009 16:37:27 +0000 (11:37 -0500)
committerTakashi Iwai <tiwai@suse.de>
Thu, 5 Feb 2009 06:56:35 +0000 (07:56 +0100)
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>
sound/pci/hda/patch_sigmatel.c

index c36c1c0f9574245f747d22c7934a852a7f771f86..0b00110a5a020daaf2e4f574efc071af4b06272f 100644 (file)
@@ -5184,7 +5184,7 @@ again:
        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 "