Re: [PATCH] usb: dwc3: gadget: don't dequeue requests on already disabled endpoints
From: Sergei Shtylyov
Date: Fri Mar 27 2020 - 04:53:36 EST
Hello!
On 27.03.2020 11:43, Michael Grzeschik wrote:
dwc3_gadget_ep_disable gets called before the last request gets
dequeued.
In __dwc3_gadget_ep_disable all started, pending and cancelled
lists for this endpoint will call dwc3_gadget_giveback in
dwc3_remove_requests.
After that no list containing the afterwards dequed request,
Dequeued.
therefor it is not necessary to run the dequeue routine.
Therefore?
Signed-off-by: Michael Grzeschik <m.grzeschik@xxxxxxxxxxxxxx>
[...]
MBR, Sergei