mbox series

[v2,0/3] i2c: imx: Fix handling of arbitration loss

Message ID 20201002152305.4963-1-ceggers@arri.de
Headers show
Series i2c: imx: Fix handling of arbitration loss | expand

Message

Christian Eggers Oct. 2, 2020, 3:23 p.m. UTC
Changes in v2:
---------------
- Don't accidently clear additional status flags on Vybrid
  (reported by Uwe Kleine-Koenig)


On my (noisy) system, I2C arbitration losses happen quite often. In it's
current implementation, the IAL flag is partly handled, but has a
number of shortcomings:

1. The driver runs unnecessarily in a timeout when waiting for an
interrupt.

2. The driver performs 500 ms busy-waiting without any value.

3. Arbitration loss errors may be reported one transfer later than they
occured.

Best regards
Christian