Re: [RESEND PATCH] i2c: rk3x: Handle a spurious start completion interrupt flag

Wolfram Sang
2021-11-29T09:38:06Z

[-- Attachment #1.1: Type: text/plain, Size: 327 bytes --]

> This causes I2C transfer being aborted in polled mode from a stop completion
> handler:

I wonder why this only happens in polling mode? The question behind that
is: is it really a spurious irq from the HW or is it maybe a race in the
driver? Because polling uses the same interrupt handler but just
periodically polls it.