aboutsummaryrefslogtreecommitdiffstats
path: root/sound/pci/hda/patch_via.c
diff options
context:
space:
mode:
authorLydia Wang <lydiawang@viatech.com.cn>2011-03-22 04:23:23 -0400
committerTakashi Iwai <tiwai@suse.de>2011-03-22 07:53:52 -0400
commitab657e0cacc39d88145871c6a3c844597c02d406 (patch)
treeab121af42c459db133498d89415a63ba95d2e0a8 /sound/pci/hda/patch_via.c
parentce0e5a9e81fbb153ee15ca60246c6722f07fc546 (diff)
ALSA: hda - VIA: Add missing support for VT1718S in A-A path
Modify mute_aa_path() function to support VT1718S codec. Signed-off-by: Lydia Wang <lydiawang@viatech.com.cn> Cc: <stable@kernel.org> Signed-off-by: Takashi Iwai <tiwai@suse.de>
Diffstat (limited to 'sound/pci/hda/patch_via.c')
-rw-r--r--sound/pci/hda/patch_via.c5
1 files changed, 5 insertions, 0 deletions
diff --git a/sound/pci/hda/patch_via.c b/sound/pci/hda/patch_via.c
index 2f605e593957..23e58f090469 100644
--- a/sound/pci/hda/patch_via.c
+++ b/sound/pci/hda/patch_via.c
@@ -1323,6 +1323,11 @@ static void mute_aa_path(struct hda_codec *codec, int mute)
1323 start_idx = 2; 1323 start_idx = 2;
1324 end_idx = 4; 1324 end_idx = 4;
1325 break; 1325 break;
1326 case VT1718S:
1327 nid_mixer = 0x21;
1328 start_idx = 1;
1329 end_idx = 3;
1330 break;
1326 default: 1331 default:
1327 return; 1332 return;
1328 } 1333 }