diff options
author | Dmitry Torokhov <dmitry.torokhov@gmail.com> | 2011-09-09 18:24:20 +0200 |
---|---|---|
committer | Dmitry Torokhov <dmitry.torokhov@gmail.com> | 2011-09-09 18:25:50 +0200 |
commit | 95439cbad134de58d9ea256e37fd13fbcdc87d08 (patch) | |
tree | 258e1670f91558404c94fe07d062166cc88fc9f1 /drivers/input/misc/twl6040-vibra.c | |
parent | Input: tegra-kbc - fix wakeup from suspend (diff) | |
download | linux-95439cbad134de58d9ea256e37fd13fbcdc87d08.tar.xz linux-95439cbad134de58d9ea256e37fd13fbcdc87d08.zip |
Input: tegra-kbc - tighten locking
Take spinlock when entering ISR and timer routine to ensure that we do not
race while enabling/disabling FIFO interrupts.
Also we do not need to take teh spinlock in tegra_kbc_startremove() since
interrupt is completely disabled.
Tested-by: Rakesh Iyer <riyer@nvidia.com>
Signed-off-by: Dmitry Torokhov <dtor@mail.ru>
Diffstat (limited to 'drivers/input/misc/twl6040-vibra.c')
0 files changed, 0 insertions, 0 deletions