diff options
author | Rodney Lorrimar <rodney@rodney.id.au> | 2008-05-05 17:59:24 +0200 |
---|---|---|
committer | Dmitry Torokhov <dmitry.torokhov@gmail.com> | 2008-05-16 20:50:10 +0200 |
commit | 5b7c407baa9501e49ebd3b6eac30cd4bcb60ca9d (patch) | |
tree | 4aa4bb8ff87d1a01058a8c9061ecf09b15f8c930 /drivers/of/gpio.c | |
parent | Input: adbhid - fix capslock key state after suspend (diff) | |
download | linux-5b7c407baa9501e49ebd3b6eac30cd4bcb60ca9d.tar.xz linux-5b7c407baa9501e49ebd3b6eac30cd4bcb60ca9d.zip |
Input: adbhid - capslock and power button fix
If the adbhid module parameter restore_capslock_events is used,
pressing the power button may confuse the capslock state. This is
because the power button release scancode (0xff) is sometimes the same
as the capslock press/release scancode.
This fix adds yet another flag to track the state of the power button
so that it works independently of capslock.
Signed-off-by: Rodney Lorrimar <rodney@rodney.id.au>
Signed-off-by: Dmitry Torokhov <dtor@mail.ru>
Diffstat (limited to 'drivers/of/gpio.c')
0 files changed, 0 insertions, 0 deletions