[PATCH] i3c: master: svc: report timeout waiting for STOP idle
Miquel Raynal
miquel.raynal at bootlin.com
Tue Jun 23 02:16:22 PDT 2026
Hello,
On 23/06/2026 at 14:08:21 +08, Pengpeng Hou <pengpeng at iscas.ac.cn> 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 at iscas.ac.cn>
Reviewed-by: Miquel Raynal <miquel.raynal at bootlin.com>
Thanks,
Miquèl
More information about the linux-i3c
mailing list