Home
last modified time | relevance | path

Searched hist:"187 d333edc0a8e1bb507900ce89853ffe3bd2c84" (Results 1 – 1 of 1) sorted by relevance

/openbmc/linux/sound/pci/hda/
H A Dpatch_via.cdiff 187d333edc0a8e1bb507900ce89853ffe3bd2c84 Thu Nov 24 09:33:09 CST 2011 Takashi Iwai <tiwai@suse.de> ALSA: hda - Fix jack-detection control of VT1708

VT1708 has no support for unsolicited events per jack-plug, the driver
implements the workq for polling the jack-detection. The mixer element
"Jack Detect" was supposed to control this behavior on/off, but this
doesn't work properly as is now. The workq is always started and the
HP automute is always enabled.

This patch fixes the jack-detect control behavior by triggering / stopping
the work appropriately at the state change. Also the work checks the
internal state to continue scheduling or not.

Cc: <stable@kernel.org> [v3.1]
Signed-off-by: Takashi Iwai <tiwai@suse.de>