mfd: iqs62x: Increase interrupt handler return delay
authorJeff LaBundy <jeff@labundy.com>
Mon, 18 Jan 2021 03:57:06 +0000 (21:57 -0600)
committerLee Jones <lee.jones@linaro.org>
Mon, 8 Feb 2021 13:54:34 +0000 (13:54 +0000)
commita3a06ea17437814f47691282d9d6f6bcf62a8a9e
treef67f6107240cbfd40b9d953cd5720d0e6375f340
parentf0c711266a540321a6099b05a3acb5385e81b53e
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>
drivers/mfd/iqs62x.c