diff options
author | Christopher Brannon <chris@the-brannons.com> | 2012-06-22 08:16:34 -0500 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2012-10-07 08:39:30 -0700 |
commit | 46b91997f613b86e7cf8e5afa9cea01045e2f0e1 (patch) | |
tree | a919819c5a4c7fc9d30d6c5f4a31271b006afa87 /scripts/patch-kernel | |
parent | 3d6cbe2361ebbb5a0037225af0cd890e666b2ec0 (diff) |
tty: keyboard.c: Remove locking from vt_get_leds.
commit 157a4b311c45c9aba75a990464d9680867dc8805 upstream.
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 'scripts/patch-kernel')
0 files changed, 0 insertions, 0 deletions