]> git.baikalelectronics.ru Git - kernel.git/commit
Input: sirfsoc-onkey - set the capability of reporting KEY_POWER
authorXianglong Du <Xianglong.Du@csr.com>
Fri, 28 Mar 2014 07:38:37 +0000 (00:38 -0700)
committerDmitry Torokhov <dmitry.torokhov@gmail.com>
Fri, 28 Mar 2014 08:10:04 +0000 (01:10 -0700)
commit968889204a1bd1dfd7d4be26cd418698d8bf7ced
tree3514748c101e9b3240dc845d7e581e047d1ae9c3
parent74b837d9dbd09e1dd1117447e85c9c0ed339a325
Input: sirfsoc-onkey - set the capability of reporting KEY_POWER

commit f5d80c10abaf2553f7c moved to report EV_KEY event(KEY_POWER) instead of
reporting EV_PWR event(KEY_SUSPEND), but it didn't enable the capability, so
the KEY_POWER will not be reported to userspace by input core. this patch fixes
the issue.

Signed-off-by: Xianglong Du <Xianglong.Du@csr.com>
Signed-off-by: Barry Song <Baohua.Song@csr.com>
Signed-off-by: Dmitry Torokhov <dmitry.torokhov@gmail.com>
drivers/input/misc/sirfsoc-onkey.c