[PATCH] i3c: master: Remove i3c_device_free_ibi from i3c_device_remove

Alexandre Belloni alexandre.belloni at bootlin.com
Fri Nov 28 15:27:54 PST 2025


On Wed, 12 Nov 2025 22:30:00 +0100, Jorge Marques wrote:
> i3c_device_disable_ibi should be called before i3c_device_free_ibi,
> however, a driver using devm actions cannot yield the call before the
> bus_type.remove(), requiring to use a .remove method that is usually
> discouraged for drivers that uses resources already manage. Since the
> only consumer mctp-i3c.c of this method calls both
> i3c_device_disable_ibi then i3c_device_free_ibi, remove the call from
> the i3c_device_remove (bus_type.remove()).
> 
> [...]

Applied, thanks!

[1/1] i3c: master: Remove i3c_device_free_ibi from i3c_device_remove
      https://git.kernel.org/abelloni/c/5b9481a41571

Best regards,

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



More information about the linux-i3c mailing list