summaryrefslogtreecommitdiffstats
path: root/drivers/usb/dwc3/core.h
diff options
context:
space:
mode:
authorFelipe Balbi <felipe.balbi@linux.intel.com>2019-01-21 13:08:44 +0200
committerFelipe Balbi <felipe.balbi@linux.intel.com>2019-02-04 08:46:22 +0200
commit3aec99154db3a95572bb92aa470589585e37df06 (patch)
treea75630825e57c4e30d959a6838825e06508f7ec2 /drivers/usb/dwc3/core.h
parent9f45581f5eec6786c6eded2b3c85345d82a910c9 (diff)
downloadlinux-3aec99154db3a95572bb92aa470589585e37df06.tar.gz
linux-3aec99154db3a95572bb92aa470589585e37df06.tar.bz2
linux-3aec99154db3a95572bb92aa470589585e37df06.zip
usb: dwc3: gadget: remove DWC3_EP_END_TRANSFER_PENDING
Now that we modified the code to fix a race condition, it's clear that DWC3_EP_END_TRANSFER_PENDING is unnecessary, considering that DWC3_EP_TRANSFER_STARTED will remain set until End Transfer completes. Tested-by: Thinh Nguyen <thinhn@synopsys.com> 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.h1
1 files changed, 0 insertions, 1 deletions
diff --git a/drivers/usb/dwc3/core.h b/drivers/usb/dwc3/core.h
index 96794c301a6b..1528d395b156 100644
--- a/drivers/usb/dwc3/core.h
+++ b/drivers/usb/dwc3/core.h
@@ -692,7 +692,6 @@ struct dwc3_ep {
#define DWC3_EP_WEDGE BIT(2)
#define DWC3_EP_TRANSFER_STARTED BIT(3)
#define DWC3_EP_PENDING_REQUEST BIT(5)
-#define DWC3_EP_END_TRANSFER_PENDING BIT(7)
/* This last one is specific to EP0 */
#define DWC3_EP0_DIR_IN BIT(31)