diff options
author | Daniel Mack <daniel@caiaq.de> | 2009-11-30 03:04:02 -0500 |
---|---|---|
committer | Dmitry Torokhov <dmitry.torokhov@gmail.com> | 2009-11-30 03:05:20 -0500 |
commit | 6ee88d713fb75ab191515f66edffa4e866386565 (patch) | |
tree | e1d5230d0d6ce85f4194e2744c5318e63fa2f190 /drivers/input/input.c | |
parent | 21cea58e49cf59e7c77ce2a01be432458e9f99a9 (diff) |
Input: gpio_keys - scan gpio state at probe and resume time
We need to read and report gpio state when we bind the driver to the
device and upon resume so that userspace has correct state of the
switches (and keys but they are less important since, even if they
are happened to be pressed, we'd expect them to be released fairly
soon).
Signed-off-by: Daniel Mack <daniel@caiaq.de>
Signed-off-by: Dmitry Torokhov <dtor@mail.ru>
Diffstat (limited to 'drivers/input/input.c')
0 files changed, 0 insertions, 0 deletions