mirror-linux/drivers/input/misc
Jeff LaBundy eb17c3d005 Input: iqs7222 - configure power mode before triggering ATI
[ Upstream commit 2e00b8bf56 ]

If the device drops into ultra-low-power mode before being placed
into normal-power mode as part of ATI being triggered, the device
does not assert any interrupts until the ATI routine is restarted
two seconds later.

Solve this problem by adopting the vendor's recommendation, which
calls for the device to be placed into normal-power mode prior to
being configured and ATI being triggered.

The original implementation followed this sequence, but the order
was inadvertently changed as part of the resolution of a separate
erratum.

Fixes: 1e4189d8af ("Input: iqs7222 - protect volatile registers")
Signed-off-by: Jeff LaBundy <jeff@labundy.com>
Link: https://lore.kernel.org/r/ZKrpHc2Ji9qR25r2@nixie71
Signed-off-by: Dmitry Torokhov <dmitry.torokhov@gmail.com>
Signed-off-by: Sasha Levin <sashal@kernel.org>
2023-09-19 12:27:59 +02:00
..
88pm80x_onkey.c
88pm860x_onkey.c
Kconfig Input: wistron_btns - disable on UML 2022-12-31 13:32:19 +01:00
Makefile Input: rt5120 - add power key support 2022-08-31 15:48:49 -07:00
ab8500-ponkey.c
ad714x-i2c.c
ad714x-spi.c
ad714x.c
ad714x.h
adxl34x-i2c.c i2c: Make remove callback return void 2022-08-16 12:46:26 +02:00
adxl34x-spi.c spi: make remove callback a void function 2022-02-09 13:00:45 +00:00
adxl34x.c Input: adxl34x - do not hardcode interrupt trigger type 2023-07-19 16:21:17 +02:00
adxl34x.h
apanel.c
ariel-pwrbutton.c
arizona-haptics.c
atc260x-onkey.c
ati_remote2.c Input: remove third argument of usb_maxpacket() 2022-04-23 10:33:53 +02:00
atlas_btns.c
atmel_captouch.c
axp20x-pek.c Linux 5.16 2022-01-17 18:03:39 -08:00
bma150.c i2c: Make remove callback return void 2022-08-16 12:46:26 +02:00
cm109.c Input: remove third argument of usb_maxpacket() 2022-04-23 10:33:53 +02:00
cma3000_d0x.c
cma3000_d0x.h
cma3000_d0x_i2c.c i2c: Make remove callback return void 2022-08-16 12:46:26 +02:00
cobalt_btns.c
cpcap-pwrbutton.c
da7280.c
da9052_onkey.c
da9055_onkey.c
da9063_onkey.c Input: da9063 - use devm_delayed_work_autocancel() 2022-02-28 23:31:24 -08:00
dm355evm_keys.c
drv260x.c Input: drv260x - sleep between polling GO bit 2023-07-19 16:21:14 +02:00
drv2665.c
drv2667.c
e3x0-button.c
gpio-beeper.c
gpio-vibra.c
gpio_decoder.c treewide: Replace GPLv2 boilerplate/reference with SPDX - gpl-2.0_30.RULE (part 2) 2022-06-10 14:51:35 +02:00
hisi_powerkey.c
hp_sdc_rtc.c
ibm-panel.c Input: ibm-panel - add missing MODULE_DEVICE_TABLE 2022-09-28 09:04:32 -07:00
ideapad_slidebar.c
ims-pcu.c Input: ims-pcu - fix spelling mistake "BOOLTLOADER" -> "BOOTLOADER" 2022-09-28 15:22:46 -07:00
iqs269a.c
iqs626a.c Input: iqs626a - prohibit inlining of channel parsing functions 2021-11-28 23:59:35 -08:00
iqs7222.c Input: iqs7222 - configure power mode before triggering ATI 2023-09-19 12:27:59 +02:00
keyspan_remote.c Input: move from strlcpy with unused retval to strscpy 2022-08-18 15:44:08 -07:00
kxtj9.c
m68kspkr.c
max8925_onkey.c
max8997_haptic.c
max77650-onkey.c
max77693-haptic.c
mc13783-pwrbutton.c
mma8450.c
palmas-pwrbutton.c treewide: Replace GPLv2 boilerplate/reference with SPDX - gpl-2.0_320.RULE 2022-06-10 14:51:36 +02:00
pcap_keys.c
pcf8574_keypad.c i2c: Make remove callback return void 2022-08-16 12:46:26 +02:00
pcf50633-input.c
pcspkr.c
pm8xxx-vibrator.c
pm8941-pwrkey.c Input: pm8941-powerkey - fix debounce on gen2+ PMICs 2023-07-19 16:21:26 +02:00
pmic8xxx-pwrkey.c
powermate.c Input: remove third argument of usb_maxpacket() 2022-04-23 10:33:53 +02:00
pwm-beeper.c
pwm-vibra.c
rave-sp-pwrbutton.c
rb532_button.c
regulator-haptic.c
retu-pwrbutton.c
rk805-pwrkey.c Input: rk805-pwrkey - fix module autoloading 2022-08-22 16:59:49 -07:00
rotary_encoder.c
rt5120-pwrkey.c Input: rt5120 - add power key support 2022-08-31 15:48:49 -07:00
sc27xx-vibra.c
sgi_btns.c
soc_button_array.c Input: soc_button_array - add invalid acpi_index DMI quirk handling 2023-06-28 11:12:37 +02:00
sparcspkr.c Input: sparcspkr - fix refcount leak in bbc_beep_probe 2022-05-16 21:10:11 -07:00
stpmic1_onkey.c
tps65218-pwrbutton.c treewide: Replace GPLv2 boilerplate/reference with SPDX - gpl-2.0_320.RULE 2022-06-10 14:51:36 +02:00
twl4030-pwrbutton.c Input: twl4030-pwrbutton - add missing of.h include 2022-09-27 08:43:04 -07:00
twl4030-vibra.c Input: twl4030-vibra - drop legacy, non DT boot support 2022-09-24 22:40:04 -07:00
twl6040-vibra.c
uinput.c
wistron_btns.c
wm831x-on.c
xen-kbdfront.c xen: switch gnttab_end_foreign_access() to take a struct page pointer 2022-05-27 11:05:29 +02:00
yealink.c Input: remove third argument of usb_maxpacket() 2022-04-23 10:33:53 +02:00
yealink.h