From: Xianglong Du Date: Sat, 15 Feb 2014 20:30:58 +0000 (-0800) Subject: Input: sirfsoc-onkey - report release event by detecting pin status X-Git-Tag: v3.15-rc1~102^2^2~26 X-Git-Url: https://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=a1a7521064428fc1cf8;p=pandora-kernel.git 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-diff-tree failed