kgdboc: reset input devices (keyboards) when exiting debugger
authorDmitry Torokhov <dmitry.torokhov@gmail.com>
Wed, 3 Nov 2010 18:04:05 +0000 (11:04 -0700)
committerDmitry Torokhov <dmitry.torokhov@gmail.com>
Wed, 3 Nov 2010 18:04:52 +0000 (11:04 -0700)
commit111c182340cd22e238ab1cc6564df336c6ebd7cb
treeb8586938bfd7e4993ec4e505fa17f02aefe0abc7
parentb50b521694cb7093640879d3279b88d2873f6183
kgdboc: reset input devices (keyboards) when exiting debugger

Use the newly exported input_reset_device() call to reset LED state and
mark all keys/buttons as released on all keyboard-like devices when
exiting the debugger.

[jason.wessel@windriver.com: fix compile without keyboard input driver]
Signed-off-by: Jason Wessel <jason.wessel@windriver.com>
Signed-off-by: Dmitry Torokhov <dtor@mail.ru>
drivers/serial/kgdboc.c