linux-stable/drivers/input
Aaro Koskinen a0fa2206f5 Input: tsc2005 - fix locking issue
Commit 0b950d3 (Input: tsc2005 - add open/close) introduced a
locking issue with the ESD watchdog: __tsc2005_disable() is calling
cancel_delayed_work_sync() with mutex held, and the work also needs the
same mutex.

Fix the problem by using mutex_trylock() in tsc2005_esd_work(). If the
mutex is taken, we know we are in the middle of disable or enable and
the watchdog check can be skipped.

Signed-off-by: Aaro Koskinen <aaro.koskinen@nokia.com>
Signed-off-by: Dmitry Torokhov <dtor@mail.ru>
2011-03-23 23:50:36 -07:00
..
gameport Merge branch 'next' into for-linus 2011-03-18 23:38:50 -07:00
joystick Merge branch 'next' into for-linus 2011-01-11 22:01:45 -08:00
keyboard Merge branch 'next' into for-linus 2011-03-18 23:38:50 -07:00
misc Merge branch 'next' into for-linus 2011-03-18 23:38:50 -07:00
mouse Merge branch 'next' into for-linus 2011-03-18 23:38:50 -07:00
serio Merge branch 'next' into for-linus 2011-03-18 23:38:50 -07:00
tablet Merge branch 'next' into for-linus 2011-03-18 23:38:50 -07:00
touchscreen Input: tsc2005 - fix locking issue 2011-03-23 23:50:36 -07:00
apm-power.c Input: use pr_fmt and pr_<level> 2010-11-30 23:10:26 -08:00
evbug.c Input: use pr_fmt and pr_<level> 2010-11-30 23:10:26 -08:00
evdev.c Input: evdev - fix evdev_write return value on partial writes 2011-02-27 01:52:53 -08:00
ff-core.c Input: use pr_fmt and pr_<level> 2010-11-30 23:10:26 -08:00
ff-memless.c Input: use pr_fmt and pr_<level> 2010-11-30 23:10:26 -08:00
fixp-arith.h
input-compat.c Input: refactor evdev 32bit compat to be shareable with uinput 2008-10-27 22:03:42 -04:00
input-compat.h [IA64] Remove COMPAT_IA32 support 2010-02-08 10:42:17 -08:00
input-mt.c input: mt: Move tracking and pointer emulation to input-mt 2010-12-16 10:41:38 +01:00
input-polldev.c Input: input-polldev - fix a couple of typos 2011-01-31 21:17:41 -08:00
input.c Merge branch 'next' into for-linus 2011-03-18 23:38:50 -07:00
joydev.c Input: use pr_fmt and pr_<level> 2010-11-30 23:10:26 -08:00
Kconfig Input: xen-kbdfront - move to drivers/input/misc 2011-03-16 23:26:01 -07:00
Makefile Input: xen-kbdfront - move to drivers/input/misc 2011-03-16 23:26:01 -07:00
mousedev.c Input: use pr_fmt and pr_<level> 2010-11-30 23:10:26 -08:00
sparse-keymap.c Input: switch completely over to the new versions of get/setkeycode 2011-01-31 21:16:59 -08:00