[PATCH v2] usb: gadget: f_mass_storage: Disable eps during disconnect
Mattijs Korpershoek
mkorpershoek at kernel.org
Fri Jun 26 11:18:46 CEST 2026
Hi,
On Wed, 17 Jun 2026 13:14:48 +0200, Mattijs Korpershoek wrote:
> When trying two ums commands in a row, the second one no longer
> enumerates properly from the host.
>
> This happens since commit
> 59310d1ecb9f ("usb: gadget: introduce 'enabled' flag in struct usb_ep")
> causing usb_ep_enable() to return early when ep->enabled is already set.
>
> [...]
Thanks, Applied to https://source.denx.de/u-boot/custodians/u-boot-dfu (u-boot-dfu-next)
[1/1] usb: gadget: f_mass_storage: Disable eps during disconnect
https://source.denx.de/u-boot/custodians/u-boot-dfu/-/commit/1c758ce38caa783c85129753c1ecc9d14a203d8e
--
Mattijs
More information about the U-Boot
mailing list