Skip to content

Commit dfd7cd6

Browse files
nxpfranklialexandrebelloni
authored andcommitted
i3c: master: svc: fix SDA keep low when polling IBIWON timeout happen
Upon IBIWON timeout, the SDA line will always be kept low if we don't emit a stop. Calling svc_i3c_master_emit_stop() there will let the bus return to idle state. Fixes: dd3c528 ("i3c: master: svc: Add Silvaco I3C master driver") Cc: <[email protected]> Reviewed-by: Miquel Raynal <[email protected]> Signed-off-by: Frank Li <[email protected]> Link: https://lore.kernel.org/r/[email protected] Signed-off-by: Alexandre Belloni <[email protected]>
1 parent 225d5ef commit dfd7cd6

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
@@ -405,6 +405,7 @@ static void svc_i3c_master_ibi_work(struct work_struct *work)
405405
SVC_I3C_MSTATUS_IBIWON(val), 0, 1000);
406406
if (ret) {
407407
dev_err(master->dev, "Timeout when polling for IBIWON\n");
408+
svc_i3c_master_emit_stop(master);
408409
goto reenable_ibis;
409410
}
410411

0 commit comments

Comments
 (0)