[PATCH v1 0/2] i2c: imx: fix i2c issues when reading messages
Stefan Eichenberger
eichest at gmail.com
Wed Feb 18 07:08:48 PST 2026
This patch series fixes two issues with the imx i2c driver when reading
messages.
The first issue is that after a repeated start the bus is still busy. If
the driver polls for that bus busy bit, the driver will timeout and fail
to read.
The second issue is that after the last message the driver should not
immediately read the data from the data register or an additional clock
will be generated. This can cause devices that react to that clock to
misbehave which will also lead to a timeout.
Stefan Eichenberger (2):
i2c: imx: fix i2c issue when reading multiple messages
i2c: imx: ensure no clock is generated after last read
drivers/i2c/busses/i2c-imx.c | 51 ++++++++++++++++++++++--------------
1 file changed, 32 insertions(+), 19 deletions(-)
--
2.51.0
More information about the linux-arm-kernel
mailing list