Input: send key up events at disconnect
authorDmitry Torokhov <dtor@insightbb.com>
Mon, 11 Sep 2006 01:56:06 +0000 (21:56 -0400)
committerDmitry Torokhov <dtor@insightbb.com>
Mon, 11 Sep 2006 01:56:06 +0000 (21:56 -0400)
commit6d2750c167d47a97936cf4415165205f945c08f8
tree9f07d5e0fe6c3145f250b36e789e367cdca73e75
parente38de678f6b19be3e46a678ec4deeaa7fa0fc140
Input: send key up events at disconnect

Emit key up events for all pressed keys/buttons when disconnecting
an input device. Cures "stuck" enter key effect when unloading
keyboard module.

Signed-off-by: Dmitry Torokhov <dtor@mail.ru>
drivers/input/input.c