diff options
| author | Stanley Chu <yschu@nuvoton.com> | 2025-03-18 13:36:06 +0800 |
|---|---|---|
| committer | Alexandre Belloni <alexandre.belloni@bootlin.com> | 2025-03-18 17:14:35 +0100 |
| commit | 0430bf9bc1ac068c8b8c540eb93e5751872efc51 (patch) | |
| tree | 945442fb1c733f70e9ce0165fffaa83d7ff3379e | |
| parent | i3c: master: svc: Use readsb helper for reading MDB (diff) | |
| download | linux-0430bf9bc1ac068c8b8c540eb93e5751872efc51.tar.gz linux-0430bf9bc1ac068c8b8c540eb93e5751872efc51.zip | |
i3c: master: svc: Fix missing STOP for master request
The controller driver nacked the master request but didn't emit a
STOP to end the transaction. The driver shall refuse the unsupported
requests and return the controller state to IDLE by emitting a STOP.
Signed-off-by: Stanley Chu <yschu@nuvoton.com>
Reviewed-by: Frank Li <Frank.Li@nxp.com>
Link: https://lore.kernel.org/r/20250318053606.3087121-4-yschu@nuvoton.com
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
| -rw-r--r-- | drivers/i3c/master/svc-i3c-master.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/drivers/i3c/master/svc-i3c-master.c b/drivers/i3c/master/svc-i3c-master.c index 57b9dec6b5a8..e0cd3ce28b7f 100644 --- a/drivers/i3c/master/svc-i3c-master.c +++ b/drivers/i3c/master/svc-i3c-master.c @@ -592,6 +592,7 @@ static void svc_i3c_master_ibi_work(struct work_struct *work) queue_work(master->base.wq, &master->hj_work); break; case SVC_I3C_MSTATUS_IBITYPE_MASTER_REQUEST: + svc_i3c_master_emit_stop(master); default: break; } |
