[PATCH] usb: gadget: atmel: do not disable endpoints in reset_all_endpoints()

Zixun LI admin at hifiphile.com
Wed May 13 16:05:17 CEST 2026


Hi Mattijs,

On Wed, May 13, 2026 at 1:24 PM Mattijs Korpershoek <mkorpershoek at kernel.org>
wrote:

>
> Also, I believe (but I may be wrong, please try it out) that we can
> maybe remove the whole if (!ep->desc) block from usba_ep_disable() since
> that should be handled by the enabled flag wrapper introduced by
> commit 59310d1ecb9f ("usb: gadget: introduce 'enabled' flag in struct
> usb_ep")
>
>
I agree we can remove the whole if block but it will desync with kernel
code.
Do you want me to send a patch ?

Best regards,
Zixun LI


More information about the U-Boot mailing list