commit | 2e75f044c717b85f65d74c8c90624428ba31078c | [log] [tgz] |
---|---|---|
author | Rodney Lorrimar <rodney@rodney.id.au> | Mon May 05 11:59:00 2008 -0400 |
committer | Dmitry Torokhov <dmitry.torokhov@gmail.com> | Fri May 16 14:50:04 2008 -0400 |
tree | 1f366b123ff5e7472a19538fd044e426f8308134 | |
parent | d2fc60d6925574eeeadd037aa0f1378e07189a1a [diff] |
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>