diff options
author | Takashi Iwai <tiwai@suse.de> | 2011-11-24 19:33:09 +0400 |
---|---|---|
committer | Takashi Iwai <tiwai@suse.de> | 2011-11-27 20:56:17 +0400 |
commit | 187d333edc0a8e1bb507900ce89853ffe3bd2c84 (patch) | |
tree | 06ffc1d0be94ec00157f790aa152e91addf0800b /lib/sha1.c | |
parent | 92bb43e6aae3dbdb199feba93da5f2d05d7716d0 (diff) | |
download | linux-187d333edc0a8e1bb507900ce89853ffe3bd2c84.tar.xz |
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>
Diffstat (limited to 'lib/sha1.c')
0 files changed, 0 insertions, 0 deletions