Skip to content

Commit 81f2a9a

Browse files
stanleychuysalexandrebelloni
authored andcommitted
i3c: master: svc: Emit STOP asap in the IBI transaction
Queuing the IBI request does not need to be done earlier than emitting the STOP. Emitting STOP immediately after receiving the IBI request can complete the IBI transaction earlier and return the bus to idle. Signed-off-by: Stanley Chu <[email protected]> Reviewed-by: Frank Li <[email protected]> Acked-by: Miquel Raynal <[email protected]> Link: https://lore.kernel.org/r/[email protected] Signed-off-by: Alexandre Belloni <[email protected]>
1 parent 8d29fa6 commit 81f2a9a

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

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

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -577,11 +577,11 @@ static void svc_i3c_master_ibi_isr(struct svc_i3c_master *master)
577577
/* Handle the non critical tasks */
578578
switch (ibitype) {
579579
case SVC_I3C_MSTATUS_IBITYPE_IBI:
580+
svc_i3c_master_emit_stop(master);
580581
if (dev) {
581582
i3c_master_queue_ibi(dev, master->ibi.tbq_slot);
582583
master->ibi.tbq_slot = NULL;
583584
}
584-
svc_i3c_master_emit_stop(master);
585585
break;
586586
case SVC_I3C_MSTATUS_IBITYPE_HOT_JOIN:
587587
svc_i3c_master_emit_stop(master);

0 commit comments

Comments
 (0)