projects
/
openwrt
/
staging
/
blogic.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
389f282
)
USB: DWC3: Correct DWC3_DSTS_SOFFN_MASK definition
author
Pratyush Anand
<pratyush.anand@st.com>
Mon, 21 May 2012 09:21:30 +0000
(14:51 +0530)
committer
Felipe Balbi
<balbi@ti.com>
Mon, 4 Jun 2012 15:17:29 +0000
(18:17 +0300)
SOF Number is bit16:3 of DSTS. Correct the mask accordingly.
Signed-off-by: Pratyush Anand <pratyush.anand@st.com>
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 ce43b1f5f341c077618052e8b8091cd48e5c1100..e402022b9e15c61cf3d137b8de5241089c6bc888 100644
(file)
--- a/
drivers/usb/dwc3/core.h
+++ b/
drivers/usb/dwc3/core.h
@@
-291,7
+291,7
@@
#define DWC3_DSTS_RXFIFOEMPTY (1 << 17)
-#define DWC3_DSTS_SOFFN_MASK (0x3ff << 3)
+#define DWC3_DSTS_SOFFN_MASK (0x3ff
f
<< 3)
#define DWC3_DSTS_SOFFN(n) (((n) & DWC3_DSTS_SOFFN_MASK) >> 3)
#define DWC3_DSTS_CONNECTSPD (7 << 0)