Re: [BUG]: usb: dwc3: gadget: Prevent EP queuing while stopping transfers

From: Greg KH
Date: Sun Apr 04 2021 - 06:02:01 EST


On Sun, Apr 04, 2021 at 11:29:00AM +0200, H. Nikolaus Schaller wrote:
> it seems as if the patch
>
> 9de499997c37 ("usb: dwc3: gadget: Prevent EP queuing while stopping transfers") in v5.11.y
> f09ddcfcb8c5 ("usb: dwc3: gadget: Prevent EP queuing while stopping transfers") in v5.12-rc5
>
> reproducible breaks dwc3 RNDIS gadget, at least on the Pyra Handheld (OMAP5).
>
> The symptom of having this patch in tree (v5.11.10 or v5.12) is that
> rndis/gadget initially works after boot.

Should be fixed now by 5aef629704ad ("usb: dwc3: gadget: Clear DEP flags
after stop transfers in ep disable"). Can you test and verify this?

thanks,

greg k-h