Re: [PATCH] i3c: master: svc: report timeout waiting for STOP idle

From: Miquel Raynal

Date: Tue Jun 23 2026 - 05:23:08 EST


Hello,

On 23/06/2026 at 14:08:21 +08, Pengpeng Hou <pengpeng@xxxxxxxxxxx> wrote:

> svc_i3c_master_xfer() emits STOP or force-exit for the final transfer
> and then waits for the controller state to become idle, but ignores
> readl_poll_timeout(). The function can therefore return success while
> the controller is still not idle.
>
> Return the idle-wait error through the existing warning/FIFO cleanup
> path so the caller observes the failed transfer without emitting a
> second STOP after the final STOP or force-exit has already been sent.
>
> Signed-off-by: Pengpeng Hou <pengpeng@xxxxxxxxxxx>

Reviewed-by: Miquel Raynal <miquel.raynal@xxxxxxxxxxx>

Thanks,
Miquèl