diff options
| author | Stefan Eichenberger <stefan.eichenberger@toradex.com> | 2026-02-18 18:08:49 +0300 |
|---|---|---|
| committer | Andi Shyti <andi.shyti@kernel.org> | 2026-03-27 15:51:20 +0300 |
| commit | f88e2e748a1fc3cb4b8d163a9be790812f578850 (patch) | |
| tree | f9e27c46bc718fa64915938565528f06d4098200 /samples/workqueue | |
| parent | c369299895a591d96745d6492d4888259b004a9e (diff) | |
| download | linux-f88e2e748a1fc3cb4b8d163a9be790812f578850.tar.xz | |
i2c: imx: fix i2c issue when reading multiple messages
When reading multiple messages, meaning a repeated start is required,
polling the bus busy bit must be avoided. This must only be done for
the last message. Otherwise, the driver will timeout.
Here an example of such a sequence that fails with an error:
i2ctransfer -y -a 0 w1@0x00 0x02 r1 w1@0x00 0x02 r1
Error: Sending messages failed: Connection timed out
Fixes: 5f5c2d4579ca ("i2c: imx: prevent rescheduling in non dma mode")
Cc: stable@vger.kernel.org # v6.13+
Signed-off-by: Stefan Eichenberger <stefan.eichenberger@toradex.com>
Reviewed-by: Frank Li <Frank.Li@nxp.com>
Signed-off-by: Andi Shyti <andi.shyti@kernel.org>
Link: https://lore.kernel.org/r/20260218150940.131354-2-eichest@gmail.com
Diffstat (limited to 'samples/workqueue')
0 files changed, 0 insertions, 0 deletions
