On Wed, May 13, 2026 at 16:05, Zixun LI <[email protected]> wrote:

> 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 ?

I see a follow-up has been send here:
https://lore.kernel.org/all/[email protected]/

That one looks good to me. I indeed prefer to stay synced with the
kernel code!

>
> Best regards,
> Zixun LI

Reply via email to