Re: [PATCH v2 1/2] usb: dwc3: Not set DWC3_EP_END_TRANSFER_PENDING in ep cmd fails

From: Greg Kroah-Hartman
Date: Mon Feb 14 2022 - 06:49:04 EST


On Mon, Feb 14, 2022 at 08:08:52PM +0900, Daehwan Jung wrote:
> It always sets DWC3_EP_END_TRANSFER_PENDING in dwc3_stop_active_transfer
> even if dwc3_send_gadget_ep_cmd fails. It can cause some problems like
> skipping clear stall commmand or giveback from dequeue. We fix to set it
> only when ep cmd success. Additionally, We clear DWC3_EP_TRANSFER_STARTED
> for next trb to start transfer not update transfer.

So is this two different changes?

>
> Signed-off-by: Daehwan Jung <dh10.jung@xxxxxxxxxxx>

What commit id does this fix?

thanks,

greg k-h