Re: [PATCH] usb: dwc3: gadget: don't dequeue requests on already disabled endpoints

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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



[Index of Archives]     [Linux Media]     [Linux Input]     [Linux Audio Users]     [Yosemite News]     [Linux Kernel]     [Linux SCSI]     [Old Linux USB Devel Archive]

  Powered by Linux