diff options
author | Christopher Brannon <chris@the-brannons.com> | 2012-06-22 15:16:34 +0200 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2012-07-06 23:28:17 +0200 |
commit | 157a4b311c45c9aba75a990464d9680867dc8805 (patch) | |
tree | 78c3cdd4f387121e7db5988aec9310e8c627c127 /drivers/macintosh/adb.c | |
parent | tty: localise the lock (diff) | |
download | linux-157a4b311c45c9aba75a990464d9680867dc8805.tar.xz linux-157a4b311c45c9aba75a990464d9680867dc8805.zip |
tty: keyboard.c: Remove locking from vt_get_leds.
There are three call sites for this function, and all three
are called within a keyboard handler.
kbd_event_lock is already held within keyboard handlers,
so attempting to lock it in vt_get_leds causes deadlock.
Signed-off-by: Christopher Brannon <chris@the-brannons.com>
Acked-by: Alan Cox <alan@linux.intel.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'drivers/macintosh/adb.c')
0 files changed, 0 insertions, 0 deletions