]> git.dujemihanovic.xyz Git - linux.git/commit
Input: iqs269a - increase interrupt handler return delay
authorJeff LaBundy <jeff@labundy.com>
Tue, 3 Jan 2023 17:58:59 +0000 (11:58 -0600)
committerDmitry Torokhov <dmitry.torokhov@gmail.com>
Wed, 11 Jan 2023 00:56:27 +0000 (16:56 -0800)
commite023cc4abde3c01b895660b0e5a8488deb36b8c1
tree787d621dc156d3d66907e5cdd3ba3a44cd78192d
parent59bc9cb3b80abaa42643abede0d5db8477901d9c
Input: iqs269a - increase interrupt handler return delay

The time the device takes to deassert its RDY output following an
I2C stop condition scales with the core clock frequency.

To prevent level-triggered interrupts from being reasserted after
the interrupt handler returns, increase the time before returning
to account for the worst-case delay (~140 us) plus margin.

Fixes: 04e49867fad1 ("Input: add support for Azoteq IQS269A")
Signed-off-by: Jeff LaBundy <jeff@labundy.com>
Reviewed-by: Mattijs Korpershoek <mkorpershoek@baylibre.com>
Link: https://lore.kernel.org/r/Y7Rs484ypy4dab5G@nixie71
Signed-off-by: Dmitry Torokhov <dmitry.torokhov@gmail.com>
drivers/input/misc/iqs269a.c