Am 04.04.2021 um 12:01 schrieb Greg KH gregkh@linuxfoundation.org:
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?
Yes it works. I was no longer able to reproduce the console log.
Thanks for the quick response!
BR, Nikolaus Schaller