From: Lydia Wang Date: Fri, 8 Jul 2011 10:28:47 +0000 (+0800) Subject: ALSA: hda - Fix output-path of VT1812 codec X-Git-Url: https://git.stricted.de/?a=commitdiff_plain;h=28dc10a5f1bebfbb7cb19f588bc1652a00992402;p=GitHub%2Fmt8127%2Fandroid_kernel_alcatel_ttab.git ALSA: hda - Fix output-path of VT1812 codec For VT1812, add dac_mixer_idx for initialization. Signed-off-by: Lydia Wang Signed-off-by: Takashi Iwai --- 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);