diff options
author | Rodney Lorrimar <rodney@rodney.id.au> | 2008-05-05 11:59:00 -0400 |
---|---|---|
committer | Dmitry Torokhov <dmitry.torokhov@gmail.com> | 2008-05-16 14:50:04 -0400 |
commit | 2e75f044c717b85f65d74c8c90624428ba31078c (patch) | |
tree | 1f366b123ff5e7472a19538fd044e426f8308134 /block | |
parent | d2fc60d6925574eeeadd037aa0f1378e07189a1a (diff) | |
download | linux-2e75f044c717b85f65d74c8c90624428ba31078c.tar.gz linux-2e75f044c717b85f65d74c8c90624428ba31078c.tar.bz2 linux-2e75f044c717b85f65d74c8c90624428ba31078c.zip |
Input: adbhid - fix capslock key state after suspend
If the adbhid module parameter restore_capslock_events is used,
sometimes capslock will get stuck down after resuming.
My fix is to remember the capslock state before suspend and then
ignore the first 'caps lock key down' message after resume if the
capslock LED was on before suspending.
Signed-off-by: Rodney Lorrimar <rodney@rodney.id.au>
Signed-off-by: Dmitry Torokhov <dtor@mail.ru>
Diffstat (limited to 'block')
0 files changed, 0 insertions, 0 deletions