summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorLydia Wang <lydiawang@viatech.com.cn>2011-07-08 12:28:47 +0200
committerTakashi Iwai <tiwai@suse.de>2011-07-08 12:37:19 +0200
commit28dc10a5f1bebfbb7cb19f588bc1652a00992402 (patch)
tree1300e97ddec61bd8891b7eb27158027404c73246
parentALSA: hda - Fix Oops in smart51 parsing in VIA codec (diff)
downloadlinux-28dc10a5f1bebfbb7cb19f588bc1652a00992402.tar.xz
linux-28dc10a5f1bebfbb7cb19f588bc1652a00992402.zip
ALSA: hda - Fix output-path of VT1812 codec
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>
-rw-r--r--sound/pci/hda/patch_via.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/sound/pci/hda/patch_via.c b/sound/pci/hda/patch_via.c
index d051cb53dd86..0da4f8ff5420 100644
--- a/sound/pci/hda/patch_via.c
+++ b/sound/pci/hda/patch_via.c
@@ -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);