summaryrefslogtreecommitdiffstats
path: root/sound/pci
diff options
context:
space:
mode:
authorLydia Wang <lydiawang@viatech.com.cn>2011-03-24 12:43:02 +0800
committerTakashi Iwai <tiwai@suse.de>2011-03-24 07:46:57 +0100
commiteadb9a804de223ef899ebb64aa037fa0da7bdee9 (patch)
tree13ba3f71e334b9ca5f8e2fedb43af68b11686f66 /sound/pci
parent4ab2d53a99b6dcee86837d2a9739bfb9f468db45 (diff)
downloadop-kernel-dev-eadb9a804de223ef899ebb64aa037fa0da7bdee9.zip
op-kernel-dev-eadb9a804de223ef899ebb64aa037fa0da7bdee9.tar.gz
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')
-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 ac8e8c7..ae9fdaa9 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[] = {
};
static struct hda_verb vt2002P_volume_init_verbs[] = {
+ /* Class-D speaker related verbs */
+ {0x1, 0xfe0, 0x4},
+ {0x1, 0xfe9, 0x80},
+ {0x1, 0xfe2, 0x22},
/*
* Unmute ADC0-1 and set the default input to mic-in
*/
OpenPOWER on IntegriCloud