commit | 21cea58e49cf59e7c77ce2a01be432458e9f99a9 | [log] [tgz] |
---|---|---|
author | Dmitry Torokhov <dmitry.torokhov@gmail.com> | Sun Nov 29 23:40:58 2009 -0800 |
committer | Dmitry Torokhov <dmitry.torokhov@gmail.com> | Sun Nov 29 23:41:15 2009 -0800 |
tree | 69c02730498e25664f0ef32e2b97aa26ba93962c | |
parent | dbe1420b4ba398feef035f7cd8181ec2e492228b [diff] |
Input: keyboard - add locking around event handling Keyboard input handler is multiplexing events form all keyboard-like devices in the system. Because of that per-device lock provided by input core is not enough to prevent clashes in ked_event() and we need our own lock to ensure that only one thread at a time executing kbd_event(). Signed-off-by: Dmitry Torokhov <dtor@mail.ru>