commit | 95439cbad134de58d9ea256e37fd13fbcdc87d08 | [log] [tgz] |
---|---|---|
author | Dmitry Torokhov <dmitry.torokhov@gmail.com> | Fri Sep 09 09:24:20 2011 -0700 |
committer | Dmitry Torokhov <dmitry.torokhov@gmail.com> | Fri Sep 09 09:25:50 2011 -0700 |
tree | 258e1670f91558404c94fe07d062166cc88fc9f1 | |
parent | d0d150ec28ab05eb2ec8cf9fcb7c9753ec95e0d4 [diff] |
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>