projects
/
firefly-linux-kernel-4.4.55.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
a682970
)
usb: dwc3: core: add flag for EP0 direction
author
Felipe Balbi
<balbi@ti.com>
Sat, 27 Aug 2011 19:26:00 +0000
(22:26 +0300)
committer
Felipe Balbi
<balbi@ti.com>
Fri, 9 Sep 2011 10:02:06 +0000
(13:02 +0300)
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>
drivers/usb/dwc3/core.h
patch
|
blob
|
history
diff --git
a/drivers/usb/dwc3/core.h
b/drivers/usb/dwc3/core.h
index 8688b5a809d2433e0593bd08de0c012886ec3d18..e7439699f44286669edbe0a302e2ca703e3163ac 100644
(file)
--- 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;