Skip to content

Commit

Permalink
usb: dwc3: core: add flag for EP0 direction
Browse files Browse the repository at this point in the history
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>
  • Loading branch information
Felipe Balbi committed Sep 9, 2011
1 parent a682970 commit 984f66a
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions drivers/usb/dwc3/core.h
Original file line number Diff line number Diff line change
Expand Up @@ -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;
Expand Down

0 comments on commit 984f66a

Please sign in to comment.