summaryrefslogtreecommitdiffstats
path: root/drivers/input/misc/mpu3050.c
diff options
context:
space:
mode:
authorXianglong Du <Xianglong.Du@csr.com>2014-02-15 12:30:58 -0800
committerDmitry Torokhov <dmitry.torokhov@gmail.com>2014-02-15 14:09:33 -0800
commita1a7521064428fc1cf8e2942179525a22cde1d49 (patch)
tree565f6585ddc0f403cd2207b9ee8c8ce09480bbfb /drivers/input/misc/mpu3050.c
parenta5e466451939153cbec4d5446be139ba666ee28d (diff)
Input: sirfsoc-onkey - report release event by detecting pin status
This change adds a delayed_work to detect the release of onkey since HW will not generate interrupt for it. At the same time, we move the KEY event to POWER instead of SUSPEND, which will be suitable for both Android and Linux. Userspace PowerManager Daemon will decide to suspend or shutdown based on how long we have touched onkey. Signed-off-by: Xianglong Du <Xianglong.Du@csr.com> Signed-off-by: Rongjun Ying <Rongjun.Ying@csr.com> Signed-off-by: Barry Song <Baohua.Song@csr.com> Signed-off-by: Dmitry Torokhov <dmitry.torokhov@gmail.com>
Diffstat (limited to 'drivers/input/misc/mpu3050.c')
0 files changed, 0 insertions, 0 deletions