]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commit7dfdb7d3a412dd8f56374b6c36ee9246ffbccdc1
treef33f60499567f0ef54e4482956a74cad9106ccdb
parentb2f79c344e068d04ef838e3871508615b3986f00
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