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

Christian Eggers ceggers at arri.de
Fri Oct 2 11:23:02 EDT 2020


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





More information about the linux-arm-kernel mailing list