diff options
author | Jeff LaBundy <jeff@labundy.com> | 2021-01-17 21:57:06 -0600 |
---|---|---|
committer | Lee Jones <lee.jones@linaro.org> | 2021-02-08 13:54:34 +0000 |
commit | a3a06ea17437814f47691282d9d6f6bcf62a8a9e (patch) | |
tree | f67f6107240cbfd40b9d953cd5720d0e6375f340 /drivers/mfd | |
parent | f0c711266a540321a6099b05a3acb5385e81b53e (diff) |
mfd: iqs62x: 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 (~90 us) plus margin.
Signed-off-by: Jeff LaBundy <jeff@labundy.com>
Signed-off-by: Lee Jones <lee.jones@linaro.org>
Diffstat (limited to 'drivers/mfd')
-rw-r--r-- | drivers/mfd/iqs62x.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/mfd/iqs62x.c b/drivers/mfd/iqs62x.c index 7a1ff7c78801..07c972531715 100644 --- a/drivers/mfd/iqs62x.c +++ b/drivers/mfd/iqs62x.c @@ -533,7 +533,7 @@ static irqreturn_t iqs62x_irq(int irq, void *context) * ensure the device's RDY output has been deasserted by the time the * interrupt handler returns. */ - usleep_range(50, 100); + usleep_range(150, 200); return IRQ_HANDLED; } |