Hi Mattijs,

On Wed, May 13, 2026 at 1:24 PM Mattijs Korpershoek <[email protected]>
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

Reply via email to