diff options
author | Marco Felsch <m.felsch@pengutronix.de> | 2019-09-16 12:45:48 -0700 |
---|---|---|
committer | Dmitry Torokhov <dmitry.torokhov@gmail.com> | 2019-10-02 14:04:41 -0700 |
commit | afce285b859cea91c182015fc9858ea58c26cd0e (patch) | |
tree | 5ba634f5a484d1c105eb8d56982f3dbc119e883a /drivers/input/input-compat.c | |
parent | 0898782247ae533d1f4e47a06bc5d4870931b284 (diff) | |
download | linux-afce285b859cea91c182015fc9858ea58c26cd0e.tar.bz2 |
Input: da9063 - fix capability and drop KEY_SLEEP
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>
Diffstat (limited to 'drivers/input/input-compat.c')
0 files changed, 0 insertions, 0 deletions