Re: [PATCH v3] usb: dwc3: gadget: Prevent EP resource conflicts during StartTransfer

From: Thinh Nguyen

Date: Tue Oct 13 2026 - 21:30:18 EST


On Tue, Oct 13, 2026, Selvarasu Ganesan wrote:
>
> I mean 'not recover here' is the failure to clear the
> DWC3_EP_END_TRANSFER_PENDING flag upon cable reconnection, caused by a
> missing command completion from the prior connection.

Right. Resetting the endpoint flags on controller restart will cover
that.

>
> Sure we can use dwc3_schedule_err_recovery(), and thanks for the suggestion.
>

I can prepare the fix patches based on our discussion. It would be great
if you can test them.

Thanks,
Thinh