Input: i8042 - fix locking in interrupt routine
authorDmitry Torokhov <dmitry.torokhov@gmail.com>
Sat, 12 Dec 2009 06:00:57 +0000 (22:00 -0800)
committerDmitry Torokhov <dmitry.torokhov@gmail.com>
Sat, 12 Dec 2009 07:55:31 +0000 (23:55 -0800)
commit4e8d340daac46cec8a0f8b3b0f228274fac913ba
treef33f60499567f0ef54e4482956a74cad9106ccdb
parent7105d2ea73e1391b681d0e1212c42f561c64d429
Input: i8042 - fix locking in interrupt routine

We need to protect not only i8042 status and data register from concurrent
access from IRQ 1 and 12 but the rest of the shared state as well, so let's
move release of i8042_lock in i8042_interrupt() a little bit further down.

Signed-off-by: Dmitry Torokhov <dtor@mail.ru>
drivers/input/serio/i8042.c