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 d051cb53dd86b7b456b44695f2494fb066681f29..0da4f8ff54201e388a89fb6b841fb13fa099e8e1 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);