From: Lydia Wang Date: Tue, 22 Mar 2011 08:23:23 +0000 (+0800) Subject: ALSA: hda - VIA: Add missing support for VT1718S in A-A path X-Git-Tag: v2.6.35.14~252 X-Git-Url: https://git.karo-electronics.de/?a=commitdiff_plain;h=1171ee52d9bc2940298844b6f485686d75fab25f;p=karo-tx-linux.git ALSA: hda - VIA: Add missing support for VT1718S in A-A path commit ab657e0cacc39d88145871c6a3c844597c02d406 upstream. Modify mute_aa_path() function to support VT1718S codec. Signed-off-by: Lydia Wang Signed-off-by: Takashi Iwai Signed-off-by: Greg Kroah-Hartman Signed-off-by: Andi Kleen --- diff --git a/sound/pci/hda/patch_via.c b/sound/pci/hda/patch_via.c index 73453814e098..4a749a9dda15 100644 --- a/sound/pci/hda/patch_via.c +++ b/sound/pci/hda/patch_via.c @@ -1300,6 +1300,11 @@ static void mute_aa_path(struct hda_codec *codec, int mute) start_idx = 2; end_idx = 4; break; + case VT1718S: + nid_mixer = 0x21; + start_idx = 1; + end_idx = 3; + break; default: return; }