From a1a7521064428fc1cf8e2942179525a22cde1d49 Mon Sep 17 00:00:00 2001 From: Xianglong Du Date: Sat, 15 Feb 2014 12:30:58 -0800 Subject: [PATCH] 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 Signed-off-by: Rongjun Ying Signed-off-by: Barry Song Signed-off-by: Dmitry Torokhov --- Reading git-format-patch failed