summaryrefslogtreecommitdiffstats
path: root/sound
diff options
context:
space:
mode:
authorLydia Wang2011-03-24 05:41:01 +0100
committerTakashi Iwai2011-03-24 07:46:08 +0100
commitaa266fccf569c6ed675f15b1654a5b2c08d9dde5 (patch)
treea8541d3790f0cb9e4a4578007c35bae057bee934 /sound
parentALSA: hda - VIA: Add VT1802 check in via_speaker_automute function (diff)
downloadkernel-qcow2-linux-aa266fccf569c6ed675f15b1654a5b2c08d9dde5.tar.gz
kernel-qcow2-linux-aa266fccf569c6ed675f15b1654a5b2c08d9dde5.tar.xz
kernel-qcow2-linux-aa266fccf569c6ed675f15b1654a5b2c08d9dde5.zip
ALSA: hda - VIA: Update VT1708 initial verbs
Add a verb of power down jack detect in VT1708 initial verbs. This verb is used to avoid noise caused by hardware issue. 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.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/sound/pci/hda/patch_via.c b/sound/pci/hda/patch_via.c
index ec6f32929ced..1d0afdbb52b6 100644
--- a/sound/pci/hda/patch_via.c
+++ b/sound/pci/hda/patch_via.c
@@ -1200,6 +1200,8 @@ static struct hda_verb vt1708_volume_init_verbs[] = {
{0x20, AC_VERB_SET_CONNECT_SEL, 0},
/* PW9 Output enable */
{0x25, AC_VERB_SET_PIN_WIDGET_CONTROL, 0x40},
+ /* power down jack detect function */
+ {0x1, 0xf81, 0x1},
{ }
};