Jeff LaBundy eb17c3d005 Input: iqs7222 - configure power mode before triggering ATI
[ Upstream commit 2e00b8bf5624767f6be7427b6eb532524793463e ]

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: 1e4189d8af27 ("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
..
2022-01-17 18:03:39 -08:00
2022-08-16 12:46:26 +02:00
2020-12-02 22:10:33 -08:00
2020-12-02 22:10:33 -08:00
2022-12-31 13:32:19 +01:00
2020-12-02 22:10:33 -08:00
2022-08-31 15:48:49 -07:00