Skip to content

Commit 0430bf9

Browse files
stanleychuysalexandrebelloni
authored andcommitted
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>
1 parent c06acf7 commit 0430bf9

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

drivers/i3c/master/svc-i3c-master.c

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -592,6 +592,7 @@ static void svc_i3c_master_ibi_work(struct work_struct *work)
592592
queue_work(master->base.wq, &master->hj_work);
593593
break;
594594
case SVC_I3C_MSTATUS_IBITYPE_MASTER_REQUEST:
595+
svc_i3c_master_emit_stop(master);
595596
default:
596597
break;
597598
}

0 commit comments

Comments
 (0)