projects
/
GitHub
/
moto-9609
/
android_kernel_motorola_exynos9610.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
78c58a5
)
usb: dwc3: Fix definition of DWC3_GCTL_U2RSTECN
author
Felipe Balbi
<balbi@ti.com>
Thu, 8 Sep 2011 14:39:59 +0000
(17:39 +0300)
committer
Felipe Balbi
<balbi@ti.com>
Fri, 9 Sep 2011 10:05:22 +0000
(13:05 +0300)
that should be 1 << 16, not 16. Caused so many
problems and we never caught it before.
Signed-off-by: Felipe Balbi <balbi@ti.com>
drivers/usb/dwc3/core.h
patch
|
blob
|
blame
|
history
diff --git
a/drivers/usb/dwc3/core.h
b/drivers/usb/dwc3/core.h
index 2e73d33e171dd740de599088d7872c128f4bdee3..e149f570437abf20c281b60b5abcc304326e235a 100644
(file)
--- a/
drivers/usb/dwc3/core.h
+++ b/
drivers/usb/dwc3/core.h
@@
-147,7
+147,7
@@
/* Global Configuration Register */
#define DWC3_GCTL_PWRDNSCALE(n) (n << 19)
-#define DWC3_GCTL_U2RSTECN
16
+#define DWC3_GCTL_U2RSTECN
(1 << 16)
#define DWC3_GCTL_RAMCLKSEL(x) ((x & DWC3_GCTL_CLK_MASK) << 6)
#define DWC3_GCTL_CLK_BUS (0)
#define DWC3_GCTL_CLK_PIPE (1)