summaryrefslogtreecommitdiffstats
path: root/drivers/input/matrix-keymap.c
diff options
context:
space:
mode:
authorSteve Twiss2015-12-13 05:43:35 +0100
committerDmitry Torokhov2015-12-13 06:05:09 +0100
commitf889beaaab1ce2ff9d018302359abb345f49be29 (patch)
treea239e9118c2ac50a429b5b7a3dc6f9ceb1d4535f /drivers/input/matrix-keymap.c
parentInput: pixcir_i2c - add support for wake and enable gpios (diff)
downloadkernel-qcow2-linux-f889beaaab1ce2ff9d018302359abb345f49be29.tar.gz
kernel-qcow2-linux-f889beaaab1ce2ff9d018302359abb345f49be29.tar.xz
kernel-qcow2-linux-f889beaaab1ce2ff9d018302359abb345f49be29.zip
Input: da9063 - report KEY_POWER instead of KEY_SLEEP during power key-press
Stop reporting KEY_SLEEP for a short key-press and report KEY_POWER instead This change applies to both DA9063 and DA9062 ONKEY drivers. A previous application used for testing by the developer required a KEY_SLEEP and KEY_POWER input_report_key event to distinguish between a short and long key-press of the power key. This is not the general convention and the typical solution is for KEY_POWER to be used in both cases: suspend and S/W power off. Signed-off-by: Steve Twiss <stwiss.opensource@diasemi.com> Signed-off-by: Dmitry Torokhov <dmitry.torokhov@gmail.com>
Diffstat (limited to 'drivers/input/matrix-keymap.c')
0 files changed, 0 insertions, 0 deletions