]> asedeno.scripts.mit.edu Git - linux.git/commit
usb: dwc3: gadget: move requests to cancelled_list
authorFelipe Balbi <felipe.balbi@linux.intel.com>
Wed, 1 Aug 2018 10:54:25 +0000 (13:54 +0300)
committerFelipe Balbi <felipe.balbi@linux.intel.com>
Mon, 26 Nov 2018 07:08:29 +0000 (09:08 +0200)
commitd4f1afe5e896c18ae01099a85dab5e1a198bd2a8
treef9808fcda8bea3c75fba970afb32b28520001ffc
parentd5443bbf5fc8f8389cce146b1fc2987cdd229d12
usb: dwc3: gadget: move requests to cancelled_list

Whenever we have a request in flight, we can move it to the cancelled
list and later simply iterate over that list and skip over any TRBs we
find.

Signed-off-by: Felipe Balbi <felipe.balbi@linux.intel.com>
drivers/usb/dwc3/gadget.c