linux-stable/drivers/input
Caleb Connolly 24e5db294c Input: pm8941-powerkey - fix debounce on gen2+ PMICs
[ Upstream commit 8c9cce9cb8 ]

Since PM8998/PM660, the power key debounce register was redefined to
support shorter debounce times. On PM8941 the shortest debounce time
(represented by register value 0) was 15625us, on PM8998 the shortest
debounce time is 62us, with the default being 2ms.

Adjust the bit shift to correctly program debounce on PM8998 and newer.

Fixes: 68c581d5e7 ("Input: add Qualcomm PM8941 power key driver")
Signed-off-by: Caleb Connolly <caleb.connolly@linaro.org>
Link: https://lore.kernel.org/r/20230529-pm8941-pwrkey-debounce-v1-2-c043a6d5c814@linaro.org
Signed-off-by: Dmitry Torokhov <dmitry.torokhov@gmail.com>
Signed-off-by: Sasha Levin <sashal@kernel.org>
2023-07-11 19:39:39 +02:00
..
gameport
joystick Input: xpad - delete a Razer DeathAdder mouse VID/PID entry 2023-06-14 11:16:53 +02:00
keyboard ARM: SoC drivers for 6.3 2023-02-27 10:04:49 -08:00
misc Input: pm8941-powerkey - fix debounce on gen2+ PMICs 2023-07-11 19:39:39 +02:00
mouse Input: psmouse - fix OOB access in Elantech protocol 2023-06-14 11:16:53 +02:00
rmi4
serio Input updates for v6.3-rc4 2023-04-01 14:09:51 -07:00
tablet Input: pegasus-notetaker - check pipe type when probing 2023-04-09 19:19:14 -07:00
touchscreen Input: cyttsp4_core - change del_timer_sync() to timer_shutdown_sync() 2023-07-11 19:39:33 +02:00
Kconfig
Makefile
apm-power.c
evbug.c
evdev.c
ff-core.c
ff-memless.c
input-compat.c
input-compat.h
input-core-private.h
input-leds.c
input-mt.c
input-poller.c
input-poller.h
input.c Input: fix open count when closing inhibited device 2023-06-14 11:16:53 +02:00
joydev.c
matrix-keymap.c
mousedev.c
sparse-keymap.c
touchscreen.c
vivaldi-fmap.c