Commit a7c0c978 authored by Lydia Wang's avatar Lydia Wang Committed by Greg Kroah-Hartman

ALSA: hda - VIA: Add missing support for VT1718S in A-A path

commit ab657e0c upstream.

Modify mute_aa_path() function to support VT1718S codec.
Signed-off-by: default avatarLydia Wang <lydiawang@viatech.com.cn>
Signed-off-by: default avatarTakashi Iwai <tiwai@suse.de>
Signed-off-by: default avatarGreg Kroah-Hartman <gregkh@suse.de>
parent 88930194
...@@ -1323,6 +1323,11 @@ static void mute_aa_path(struct hda_codec *codec, int mute) ...@@ -1323,6 +1323,11 @@ static void mute_aa_path(struct hda_codec *codec, int mute)
start_idx = 2; start_idx = 2;
end_idx = 4; end_idx = 4;
break; break;
case VT1718S:
nid_mixer = 0x21;
start_idx = 1;
end_idx = 3;
break;
default: default:
return; return;
} }
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment