ALSA: hda - Fix output-path of VT1812 codec
authorLydia Wang <lydiawang@viatech.com.cn>
Fri, 8 Jul 2011 10:28:47 +0000 (18:28 +0800)
committerTakashi Iwai <tiwai@suse.de>
Fri, 8 Jul 2011 10:37:19 +0000 (12:37 +0200)
For VT1812, add dac_mixer_idx for initialization.

Signed-off-by: Lydia Wang <lydiawang@viatech.com.cn>
Signed-off-by: Takashi Iwai <tiwai@suse.de>
sound/pci/hda/patch_via.c

index d051cb5..0da4f8f 100644 (file)
@@ -3534,6 +3534,7 @@ static int patch_vt1812(struct hda_codec *codec)
        spec->aa_mix_nid = 0x21;
        override_mic_boost(codec, 0x2b, 0, 3, 40);
        override_mic_boost(codec, 0x29, 0, 3, 40);
+       spec->dac_mixer_idx = 5;
 
        /* automatic parse from the BIOS config */
        err = via_parse_auto_config(codec);