summaryrefslogtreecommitdiffstats
path: root/drivers/usb/dwc3
diff options
context:
space:
mode:
authorFelipe Balbi <balbi@ti.com>2011-08-27 22:26:00 +0300
committerFelipe Balbi <balbi@ti.com>2011-09-09 13:02:06 +0300
commit984f66a6f9b9c02d6cb077ac49ec9fe5445fb1ee (patch)
treee581f691306d10b192904087d4d79bc3c28a8cb5 /drivers/usb/dwc3
parenta6829706ce0bae7e4623ea987a639d91a721eee2 (diff)
downloadblackbird-obmc-linux-984f66a6f9b9c02d6cb077ac49ec9fe5445fb1ee.tar.gz
blackbird-obmc-linux-984f66a6f9b9c02d6cb077ac49ec9fe5445fb1ee.zip
usb: dwc3: core: add flag for EP0 direction
Add a flag to keep track of ep0 direction. This flag will be used on a following patch. Signed-off-by: Felipe Balbi <balbi@ti.com>
Diffstat (limited to 'drivers/usb/dwc3')
-rw-r--r--drivers/usb/dwc3/core.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/drivers/usb/dwc3/core.h b/drivers/usb/dwc3/core.h
index 8688b5a809d2..e7439699f442 100644
--- a/drivers/usb/dwc3/core.h
+++ b/drivers/usb/dwc3/core.h
@@ -350,6 +350,9 @@ struct dwc3_ep {
#define DWC3_EP_PENDING_REQUEST (1 << 5)
#define DWC3_EP_WILL_SHUTDOWN (1 << 6)
+ /* This last one is specific to EP0 */
+#define DWC3_EP0_DIR_IN (1 << 31)
+
unsigned current_trb;
u8 number;
OpenPOWER on IntegriCloud