[PATCH] bus: sunxi-rsb: fail hardware init on soft-reset timeout
Jernej Škrabec
jernej.skrabec at gmail.com
Fri Jun 26 23:40:52 PDT 2026
Dne četrtek, 25. junij 2026 ob 02:34:16 Srednjeevropski poletni čas je Pengpeng Hou napisal(a):
> sunxi_rsb_hw_init() issues a controller soft reset and waits for the reset
> bit to clear, but it ignores readl_poll_timeout()'s return value.
>
> If the controller never leaves reset, probe can continue to publish child
> devices and system resume can report success without a usable RSB
> controller.
>
> Return the timeout error, assert reset again, and disable the clock before
> leaving the hardware-init path.
>
> Signed-off-by: Pengpeng Hou <pengpeng at iscas.ac.cn>
Acked-by: Jernej Skrabec <jernej.skrabec at gmail.com>
Best regards,
Jernej
More information about the linux-arm-kernel
mailing list