aboutsummaryrefslogtreecommitdiffstats
path: root/net/sched/sch_blackhole.c
diff options
context:
space:
mode:
authorDmitry Torokhov <dmitry.torokhov@gmail.com>2011-03-17 01:11:34 -0400
committerDmitry Torokhov <dmitry.torokhov@gmail.com>2011-03-17 02:29:29 -0400
commit0b950d3d7ce4c1e870b8efc4ae0faaf0ef53532c (patch)
tree4d6f36f7564fec7465546bba3377642e4675f0c9 /net/sched/sch_blackhole.c
parent71f80045d48f259ea423bae3c14c2361e010a9ce (diff)
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 'net/sched/sch_blackhole.c')
0 files changed, 0 insertions, 0 deletions