diff options
author | Marco Felsch <m.felsch@pengutronix.de> | 2019-09-16 12:45:48 -0700 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2019-10-29 09:17:33 +0100 |
commit | 1c725772e6f23698d3ee414637a3426e752bbd20 (patch) | |
tree | ace7ca98558aab8ab178f9cb5554c906ec90bf38 /drivers/input/rmi4 | |
parent | a7f64a34fa1b39a22fbf8cffa6aa1624182d9a81 (diff) |
Input: da9063 - fix capability and drop KEY_SLEEP
commit afce285b859cea91c182015fc9858ea58c26cd0e upstream.
Since commit f889beaaab1c ("Input: da9063 - report KEY_POWER instead of
KEY_SLEEP during power key-press") KEY_SLEEP isn't supported anymore. This
caused input device to not generate any events if "dlg,disable-key-power"
is set.
Fix this by unconditionally setting KEY_POWER capability, and not
declaring KEY_SLEEP.
Fixes: f889beaaab1c ("Input: da9063 - report KEY_POWER instead of KEY_SLEEP during power key-press")
Signed-off-by: Marco Felsch <m.felsch@pengutronix.de>
Cc: stable@vger.kernel.org
Signed-off-by: Dmitry Torokhov <dmitry.torokhov@gmail.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'drivers/input/rmi4')
0 files changed, 0 insertions, 0 deletions