Re: [PATCH 1/1] i3c: master: Fix missing 'ret' assignment in set_speed()

From: Alexandre Belloni
Date: Sun Jan 12 2025 - 18:04:59 EST


On Wed, 08 Jan 2025 17:55:33 -0500, Frank Li wrote:
> Fix a probe failure in the i3c master driver that occurs when no i3c
> devices are connected to the bus.
>
> The issue arises in `i3c_master_bus_init()` where the `ret` value is not
> updated after calling `master->ops->set_speed()`. If no devices are
> present, `ret` remains set to `I3C_ERROR_M2`, causing the code to
> incorrectly proceed to `err_bus_cleanup`.
>
> [...]

Applied, thanks!

[1/1] i3c: master: Fix missing 'ret' assignment in set_speed()
https://git.kernel.org/abelloni/c/b266e0d4dac0

Best regards,

--
Alexandre Belloni, co-owner and COO, Bootlin
Embedded Linux and Kernel engineering
https://bootlin.com