aboutsummaryrefslogtreecommitdiffstats
path: root/include/uapi/linux/input.h
diff options
context:
space:
mode:
authorHeiko Stübner <heiko@sntech.de>2013-12-14 01:41:55 -0800
committerDmitry Torokhov <dmitry.torokhov@gmail.com>2013-12-15 02:53:13 -0800
commit499e61279d0f8dc6ecf46b75479118589df58b56 (patch)
tree2bef28475bf760c4b94779cf25ccc5ceda9dbafb /include/uapi/linux/input.h
parentInput: adxl34x - Fix bug in definition of ADXL346_2D_ORIENT (diff)
downloadlinux-dev-499e61279d0f8dc6ecf46b75479118589df58b56.tar.xz
linux-dev-499e61279d0f8dc6ecf46b75479118589df58b56.zip
Input: zforce - fix possible driver hang during suspend
handle_level_irq masks the interrupt before handling it, and only unmasks it after the handler is finished. So when a touch event happens after threads are suspended, but before the system is fully asleep the irq handler tries to wakeup the thread which will only happen on the next resume, resulting in the wakeup event never being sent and the driver not being able to wake the system from sleep due to the masked irq. Therefore move the wakeup_event to a small non-threaded handler. Signed-off-by: Heiko Stuebner <heiko@sntech.de> Signed-off-by: Dmitry Torokhov <dmitry.torokhov@gmail.com>
Diffstat (limited to 'include/uapi/linux/input.h')
0 files changed, 0 insertions, 0 deletions