Re: [PATCH] usb: bootm: Drop old USB-device-removal code

2024-07-31 Thread Tom Rini
On Fri, 26 Jul 2024 06:36:09 -0600, Simon Glass wrote: > USB is stopped using driver model now, in dm_remove_devices_flags() in > announce_and_cleanup() at the top of this file. > > The usb_stop() call actually unbinds devices. > > When a USB device is unbound, it causes any bootflows attached t

Re: [PATCH] usb: bootm: Drop old USB-device-removal code

2024-07-30 Thread Mattijs Korpershoek
Hi Simon, Thank you for the patch. On ven., juil. 26, 2024 at 06:36, Simon Glass wrote: > USB is stopped using driver model now, in dm_remove_devices_flags() in > announce_and_cleanup() at the top of this file. > > The usb_stop() call actually unbinds devices. > > When a USB device is unbound,

[PATCH] usb: bootm: Drop old USB-device-removal code

2024-07-26 Thread Simon Glass
USB is stopped using driver model now, in dm_remove_devices_flags() in announce_and_cleanup() at the top of this file. The usb_stop() call actually unbinds devices. When a USB device is unbound, it causes any bootflows attached to it to be removed, via a call to bootdev_clear_bootflows() from boo