aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/usb/dwc3/core.h
diff options
context:
space:
mode:
authorFelipe Balbi <felipe.balbi@linux.intel.com>2018-08-01 13:53:29 +0300
committerFelipe Balbi <felipe.balbi@linux.intel.com>2018-11-26 09:08:29 +0200
commitd5443bbf5fc8f8389cce146b1fc2987cdd229d12 (patch)
tree820ccda60260434a28c2f2b34e02f919a0f545f8 /drivers/usb/dwc3/core.h
parentusb: dwc3: gadget: extract dwc3_gadget_ep_skip_trbs() (diff)
downloadlinux-dev-d5443bbf5fc8f8389cce146b1fc2987cdd229d12.tar.xz
linux-dev-d5443bbf5fc8f8389cce146b1fc2987cdd229d12.zip
usb: dwc3: gadget: introduce cancelled_list
This list will host cancelled requests who still have TRBs being processed. Signed-off-by: Felipe Balbi <felipe.balbi@linux.intel.com>
Diffstat (limited to 'drivers/usb/dwc3/core.h')
-rw-r--r--drivers/usb/dwc3/core.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/drivers/usb/dwc3/core.h b/drivers/usb/dwc3/core.h
index 8405519413a4..9798c73c09ce 100644
--- a/drivers/usb/dwc3/core.h
+++ b/drivers/usb/dwc3/core.h
@@ -646,6 +646,7 @@ struct dwc3_event_buffer {
/**
* struct dwc3_ep - device side endpoint representation
* @endpoint: usb endpoint
+ * @cancelled_list: list of cancelled requests for this endpoint
* @pending_list: list of pending requests for this endpoint
* @started_list: list of started requests on this endpoint
* @wait_end_transfer: wait_queue_head_t for waiting on End Transfer complete
@@ -673,6 +674,7 @@ struct dwc3_event_buffer {
*/
struct dwc3_ep {
struct usb_ep endpoint;
+ struct list_head cancelled_list;
struct list_head pending_list;
struct list_head started_list;