aboutsummaryrefslogtreecommitdiffstats
path: root/sound
diff options
context:
space:
mode:
authorLydia Wang <lydiawang@viatech.com.cn>2011-03-24 00:42:03 -0400
committerTakashi Iwai <tiwai@suse.de>2011-03-24 02:46:32 -0400
commit4ab2d53a99b6dcee86837d2a9739bfb9f468db45 (patch)
treec8f9115a075bbc8873c0afd4fa33bf7b0ad3cba4 /sound
parentaa266fccf569c6ed675f15b1654a5b2c08d9dde5 (diff)
ALSA: hda - VIA: Update VT1718S initial verbs
Add a verb to enable control amplifier of stereo mixer in VT1718S initial verbs. Set stereo mixer default amplifier value as un-mute. Signed-off-by: Lydia Wang <lydiawang@viatech.com.cn> Signed-off-by: Takashi Iwai <tiwai@suse.de>
Diffstat (limited to 'sound')
-rw-r--r--sound/pci/hda/patch_via.c5
1 files changed, 3 insertions, 2 deletions
diff --git a/sound/pci/hda/patch_via.c b/sound/pci/hda/patch_via.c
index 1d0afdbb52b6..ac8e8c757f69 100644
--- a/sound/pci/hda/patch_via.c
+++ b/sound/pci/hda/patch_via.c
@@ -4255,7 +4255,8 @@ static struct hda_verb vt1718S_volume_init_verbs[] = {
4255 {0x10, AC_VERB_SET_AMP_GAIN_MUTE, AMP_IN_UNMUTE(0)}, 4255 {0x10, AC_VERB_SET_AMP_GAIN_MUTE, AMP_IN_UNMUTE(0)},
4256 {0x11, AC_VERB_SET_AMP_GAIN_MUTE, AMP_IN_UNMUTE(0)}, 4256 {0x11, AC_VERB_SET_AMP_GAIN_MUTE, AMP_IN_UNMUTE(0)},
4257 4257
4258 4258 /* Enable MW0 adjust Gain 5 */
4259 {0x1, 0xfb2, 0x10},
4259 /* Mute input amps (CD, Line In, Mic 1 & Mic 2) of the analog-loopback 4260 /* Mute input amps (CD, Line In, Mic 1 & Mic 2) of the analog-loopback
4260 * mixer widget 4261 * mixer widget
4261 */ 4262 */
@@ -4264,7 +4265,7 @@ static struct hda_verb vt1718S_volume_init_verbs[] = {
4264 {0x21, AC_VERB_SET_AMP_GAIN_MUTE, AMP_IN_MUTE(1)}, 4265 {0x21, AC_VERB_SET_AMP_GAIN_MUTE, AMP_IN_MUTE(1)},
4265 {0x21, AC_VERB_SET_AMP_GAIN_MUTE, AMP_IN_MUTE(2)}, 4266 {0x21, AC_VERB_SET_AMP_GAIN_MUTE, AMP_IN_MUTE(2)},
4266 {0x21, AC_VERB_SET_AMP_GAIN_MUTE, AMP_IN_MUTE(3)}, 4267 {0x21, AC_VERB_SET_AMP_GAIN_MUTE, AMP_IN_MUTE(3)},
4267 {0x21, AC_VERB_SET_AMP_GAIN_MUTE, AMP_IN_MUTE(5)}, 4268 {0x21, AC_VERB_SET_AMP_GAIN_MUTE, AMP_IN_UNMUTE(5)},
4268 4269
4269 /* Setup default input of Front HP to MW9 */ 4270 /* Setup default input of Front HP to MW9 */
4270 {0x28, AC_VERB_SET_CONNECT_SEL, 0x1}, 4271 {0x28, AC_VERB_SET_CONNECT_SEL, 0x1},