aboutsummaryrefslogtreecommitdiffstats
path: root/sound/pci/hda/patch_via.c
diff options
context:
space:
mode:
authorLydia Wang <lydiawang@viatech.com.cn>2011-03-24 00:43:02 -0400
committerTakashi Iwai <tiwai@suse.de>2011-03-24 02:46:57 -0400
commiteadb9a804de223ef899ebb64aa037fa0da7bdee9 (patch)
tree13ba3f71e334b9ca5f8e2fedb43af68b11686f66 /sound/pci/hda/patch_via.c
parent4ab2d53a99b6dcee86837d2a9739bfb9f468db45 (diff)
ALSA: hda - VIA: Update VT2002P initial verbs
Add some hardware related verbs in VT2002P initial verbs. These verbs are used to fix Class-D speaker no sound issue. Signed-off-by: Lydia Wang <lydiawang@viatech.com.cn> 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.c4
1 files changed, 4 insertions, 0 deletions
diff --git a/sound/pci/hda/patch_via.c b/sound/pci/hda/patch_via.c
index ac8e8c757f69..ae9fdaa955f0 100644
--- a/sound/pci/hda/patch_via.c
+++ b/sound/pci/hda/patch_via.c
@@ -5267,6 +5267,10 @@ static struct snd_kcontrol_new vt2002P_capture_mixer[] = {
5267}; 5267};
5268 5268
5269static struct hda_verb vt2002P_volume_init_verbs[] = { 5269static struct hda_verb vt2002P_volume_init_verbs[] = {
5270 /* Class-D speaker related verbs */
5271 {0x1, 0xfe0, 0x4},
5272 {0x1, 0xfe9, 0x80},
5273 {0x1, 0xfe2, 0x22},
5270 /* 5274 /*
5271 * Unmute ADC0-1 and set the default input to mic-in 5275 * Unmute ADC0-1 and set the default input to mic-in
5272 */ 5276 */