diff options
author | Arnd Bergmann | 2010-03-10 05:38:48 +0100 |
---|---|---|
committer | Dmitry Torokhov | 2010-03-10 07:05:57 +0100 |
commit | 2f2177c8dadbcb08c14f796ac983c5475eca1bd3 (patch) | |
tree | 719c9f14280ca717e1651653e892179fb304590a /drivers/input/mouse/alps.c | |
parent | Input: serio_raw - remove BKL (diff) | |
download | kernel-qcow2-linux-2f2177c8dadbcb08c14f796ac983c5475eca1bd3.tar.gz kernel-qcow2-linux-2f2177c8dadbcb08c14f796ac983c5475eca1bd3.tar.xz kernel-qcow2-linux-2f2177c8dadbcb08c14f796ac983c5475eca1bd3.zip |
Input: remove BKL, fix input_open_file() locking
Holding the BKL in input_open_file seems pointless because it does not
protect against updates of input_table, and all open functions from the
underlying drivers have proper mutex locking.
This makes input_open_file take the input_mutex when accessing
the table and no lock when calling into the lower function.
Signed-off-by: Arnd Bergmann <arnd@arndb.de>
Acked-by: Thadeu Lima de Souza Cascardo <cascardo@holoscopio.com>
Signed-off-by: Dmitry Torokhov <dtor@mail.ru>
Diffstat (limited to 'drivers/input/mouse/alps.c')
0 files changed, 0 insertions, 0 deletions