diff options
author | Lydia Wang <lydiawang@viatech.com.cn> | 2011-03-22 16:23:23 +0800 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@suse.de> | 2011-03-28 07:31:19 -0700 |
commit | eb26db8adb4faba6e5492e2250591959a99e8268 (patch) | |
tree | 7de93828b951c9296f122209a35a644f5c2a5d95 | |
parent | 30586343fbd78862407df516dafdc344dd7ca127 (diff) |
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 <lydiawang@viatech.com.cn>
Signed-off-by: Takashi Iwai <tiwai@suse.de>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
-rw-r--r-- | sound/pci/hda/patch_via.c | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/sound/pci/hda/patch_via.c b/sound/pci/hda/patch_via.c index e24a6b86150..7221a62dd09 100644 --- a/sound/pci/hda/patch_via.c +++ b/sound/pci/hda/patch_via.c @@ -1265,6 +1265,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; } |