Wolfram Sang
093f70c134
i2c: rcar: fix NACK handling when being a target
...
When this controller is a target, the NACK handling had two issues.
First, the return value from the backend was not checked on the initial
WRITE_REQUESTED. So, the driver missed to send a NACK in this case.
Also, the NACK always arrives one byte late on the bus, even in the
WRITE_RECEIVED case. This seems to be a HW issue. We should then not
rely on the backend to correctly NACK the superfluous byte as well. Fix
both issues by introducing a flag which gets set whenever the backend
requests a NACK and keep sending it until we get a STOP condition.
Fixes: de20d1857d ("i2c: rcar: add slave support")
Signed-off-by: Wolfram Sang <wsa+renesas@sang-engineering.com >
2025-01-15 19:37:33 +01:00
..
2024-07-11 15:13:10 +02:00
2024-09-10 00:33:52 +02:00
2024-07-09 00:46:06 +02:00
2024-11-17 11:58:14 +01:00
2024-11-17 11:58:14 +01:00
2024-12-02 11:34:44 -08:00
2024-11-17 11:58:14 +01:00
2024-11-17 11:58:14 +01:00
2024-11-17 11:58:14 +01:00
2024-11-17 11:58:14 +01:00
2024-11-17 11:58:14 +01:00
2024-11-17 11:58:14 +01:00
2024-11-17 11:58:14 +01:00
2024-11-17 11:58:14 +01:00
2024-11-17 11:58:14 +01:00
2024-11-17 11:58:14 +01:00
2024-11-17 11:58:14 +01:00
2024-07-09 00:46:06 +02:00
2024-12-01 15:12:43 -08:00
2024-11-17 11:58:14 +01:00
2024-07-11 15:13:30 +02:00
2024-11-17 11:58:14 +01:00
2024-11-17 11:58:14 +01:00
2024-11-17 11:58:14 +01:00
2024-11-13 23:29:47 +01:00
2024-12-03 08:22:25 -08:00
2024-11-24 16:03:51 +01:00
2024-12-03 08:22:25 -08:00
2024-12-02 11:34:44 -08:00
2024-12-02 11:34:44 -08:00
2024-12-03 08:22:25 -08:00
2024-11-17 11:58:14 +01:00
2024-07-11 15:14:08 +02:00
2024-11-17 11:58:14 +01:00
2024-11-17 11:58:14 +01:00
2024-11-17 11:58:14 +01:00
2024-07-11 15:14:09 +02:00
2024-11-17 11:58:14 +01:00
2024-11-17 11:58:14 +01:00
2024-11-17 11:58:14 +01:00
2024-07-11 15:14:10 +02:00
2024-11-17 11:58:14 +01:00
2024-11-13 23:29:46 +01:00
2024-11-17 11:58:14 +01:00
2024-11-17 11:58:14 +01:00
2024-11-17 11:58:14 +01:00
2024-12-25 23:45:05 +01:00
2024-11-17 11:58:14 +01:00
2024-11-13 23:29:46 +01:00
2024-09-10 00:36:55 +02:00
2024-11-17 11:58:14 +01:00
2024-09-10 11:02:45 +02:00
2024-11-17 11:58:14 +01:00
2024-12-02 11:34:44 -08:00
2024-11-17 11:58:14 +01:00
2024-07-11 15:14:14 +02:00
2024-11-17 11:58:14 +01:00
2024-12-26 01:54:47 +01:00
2024-11-17 11:58:14 +01:00
2024-11-17 11:58:14 +01:00
2024-11-17 11:58:14 +01:00
2024-11-17 11:58:14 +01:00
2024-11-17 11:58:14 +01:00
2024-11-17 11:58:14 +01:00
2024-11-17 11:58:14 +01:00
2024-11-17 11:58:14 +01:00
2024-12-10 16:07:53 +01:00
2024-11-17 11:58:14 +01:00
2024-10-02 17:23:23 -04:00
2024-11-17 11:58:14 +01:00
2024-07-11 15:14:16 +02:00
2024-07-11 15:14:16 +02:00
2024-11-17 11:58:14 +01:00
2024-11-17 11:58:14 +01:00
2024-11-17 11:58:14 +01:00
2024-07-11 15:14:17 +02:00
2024-07-11 15:14:17 +02:00
2024-11-17 11:58:14 +01:00
2024-11-17 11:58:14 +01:00
2024-12-02 11:34:44 -08:00
2024-11-13 23:29:46 +01:00
2024-12-10 15:50:50 +01:00
2024-11-17 11:58:14 +01:00
2024-09-10 00:33:52 +02:00
2024-11-17 11:58:14 +01:00
2024-11-17 11:58:56 +01:00
2024-11-17 11:58:14 +01:00
2024-11-24 16:03:50 +01:00
2025-01-15 19:37:33 +01:00
2024-12-12 12:54:02 +01:00
2024-11-17 11:58:14 +01:00
2024-07-11 15:14:20 +02:00
2024-11-17 11:58:57 +01:00
2024-11-17 11:58:14 +01:00
2024-11-17 11:58:14 +01:00
2024-11-17 11:58:14 +01:00
2024-11-17 11:58:14 +01:00
2024-11-17 11:58:14 +01:00
2024-11-17 11:58:14 +01:00
2024-07-11 15:14:20 +02:00
2024-11-17 11:58:14 +01:00
2024-11-17 11:58:14 +01:00
2024-11-17 11:58:14 +01:00
2024-11-17 11:58:14 +01:00
2024-11-17 11:58:14 +01:00
2024-11-17 11:58:14 +01:00
2024-07-11 15:14:22 +02:00
2024-11-17 11:58:14 +01:00
2024-11-17 11:58:14 +01:00
2024-07-11 15:14:23 +02:00
2024-07-11 15:14:23 +02:00
2024-11-17 11:58:14 +01:00
2024-11-17 11:58:14 +01:00
2024-11-17 11:58:14 +01:00
2024-07-11 15:14:24 +02:00
2024-11-17 11:58:14 +01:00
2024-07-11 15:14:24 +02:00
2024-11-17 11:58:14 +01:00
2024-09-10 00:36:50 +02:00
2024-11-17 11:58:14 +01:00
2024-11-17 11:58:14 +01:00
2024-11-17 11:58:14 +01:00
2024-11-21 13:19:29 -08:00
2024-11-21 13:19:29 -08:00
2024-11-17 11:58:14 +01:00