diff options
author | Takashi Iwai <tiwai@suse.de> | 2011-11-24 16:33:09 +0100 |
---|---|---|
committer | Takashi Iwai <tiwai@suse.de> | 2011-11-27 17:56:17 +0100 |
commit | 187d333edc0a8e1bb507900ce89853ffe3bd2c84 (patch) | |
tree | 06ffc1d0be94ec00157f790aa152e91addf0800b /sound/pci/hda/patch_ca0110.c | |
parent | 92bb43e6aae3dbdb199feba93da5f2d05d7716d0 (diff) | |
download | op-kernel-dev-187d333edc0a8e1bb507900ce89853ffe3bd2c84.zip op-kernel-dev-187d333edc0a8e1bb507900ce89853ffe3bd2c84.tar.gz |
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 'sound/pci/hda/patch_ca0110.c')
0 files changed, 0 insertions, 0 deletions