[PATCH] usb: gadget: atmel: do not disable endpoints in reset_all_endpoints()
Mattijs Korpershoek
mkorpershoek at kernel.org
Mon May 18 09:37:24 CEST 2026
On Wed, May 13, 2026 at 16:05, Zixun LI <admin at hifiphile.com> wrote:
> 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 ?
I see a follow-up has been send here:
https://lore.kernel.org/all/20260515-udc_ep-v2-1-cd335b4e62e4@hifiphile.com/
That one looks good to me. I indeed prefer to stay synced with the
kernel code!
>
> Best regards,
> Zixun LI
More information about the U-Boot
mailing list