summaryrefslogtreecommitdiff
path: root/drivers/input/input.c
diff options
context:
space:
mode:
authorDaniel Mack <daniel@caiaq.de>2009-11-30 11:04:02 +0300
committerDmitry Torokhov <dmitry.torokhov@gmail.com>2009-11-30 11:05:20 +0300
commit6ee88d713fb75ab191515f66edffa4e866386565 (patch)
treee1d5230d0d6ce85f4194e2744c5318e63fa2f190 /drivers/input/input.c
parent21cea58e49cf59e7c77ce2a01be432458e9f99a9 (diff)
downloadlinux-6ee88d713fb75ab191515f66edffa4e866386565.tar.xz
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