summaryrefslogtreecommitdiff
path: root/drivers/input/mouse/sentelic.h
diff options
context:
space:
mode:
authorDmitry Torokhov <dmitry.torokhov@gmail.com>2011-03-17 08:11:34 +0300
committerDmitry Torokhov <dmitry.torokhov@gmail.com>2011-03-17 09:29:29 +0300
commit0b950d3d7ce4c1e870b8efc4ae0faaf0ef53532c (patch)
tree4d6f36f7564fec7465546bba3377642e4675f0c9 /drivers/input/mouse/sentelic.h
parent71f80045d48f259ea423bae3c14c2361e010a9ce (diff)
downloadlinux-0b950d3d7ce4c1e870b8efc4ae0faaf0ef53532c.tar.xz
Input: tsc2005 - add open/close
Introduce open and close methods for the input device to keep the device powered down when it is not in use. Also rework interaction between interrupt thread and starting/shutting off/resetting the device: instead of taking a mutex in the intterrupt thread and elsewhere disable interrupts before transitioning the device in a new state. The ESD handling is also separated from the IRQ thread; we poll regularly at a given interval and simply skip reads if we see that valid interrupt happened not so long ago. This allows us not cancel and reschedule ESD work from interrupt context all the time. Tested-by: Aaro Koskinen <aaro.koskinen@nokia.com> Signed-off-by: Dmitry Torokhov <dtor@mail.ru>
Diffstat (limited to 'drivers/input/mouse/sentelic.h')
0 files changed, 0 insertions, 0 deletions