Skip to content

Commit e023cc4

Browse files
jlabundydtor
authored andcommitted
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: 04e4986 ("Input: add support for Azoteq IQS269A") Signed-off-by: Jeff LaBundy <[email protected]> Reviewed-by: Mattijs Korpershoek <[email protected]> Link: https://lore.kernel.org/r/Y7Rs484ypy4dab5G@nixie71 Signed-off-by: Dmitry Torokhov <[email protected]>
1 parent 59bc9cb commit e023cc4

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

drivers/input/misc/iqs269a.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -153,7 +153,7 @@
153153
#define IQS269_PWR_MODE_POLL_SLEEP_US IQS269_ATI_POLL_SLEEP_US
154154
#define IQS269_PWR_MODE_POLL_TIMEOUT_US IQS269_ATI_POLL_TIMEOUT_US
155155

156-
#define iqs269_irq_wait() usleep_range(100, 150)
156+
#define iqs269_irq_wait() usleep_range(200, 250)
157157

158158
enum iqs269_local_cap_size {
159159
IQS269_LOCAL_CAP_SIZE_0,

0 commit comments

Comments
 (0)