Commit 984f66a6 authored by Felipe Balbi's avatar Felipe Balbi

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: default avatarFelipe Balbi <balbi@ti.com>
parent a6829706
...@@ -350,6 +350,9 @@ struct dwc3_ep { ...@@ -350,6 +350,9 @@ struct dwc3_ep {
#define DWC3_EP_PENDING_REQUEST (1 << 5) #define DWC3_EP_PENDING_REQUEST (1 << 5)
#define DWC3_EP_WILL_SHUTDOWN (1 << 6) #define DWC3_EP_WILL_SHUTDOWN (1 << 6)
/* This last one is specific to EP0 */
#define DWC3_EP0_DIR_IN (1 << 31)
unsigned current_trb; unsigned current_trb;
u8 number; u8 number;
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment