projects
/
GitHub
/
exynos8895
/
android_kernel_samsung_universal8895.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
f4aadbe
)
usb: dwc3: define ScaleDown macro helper
author
Felipe Balbi
<balbi@ti.com>
Thu, 8 Sep 2011 14:41:00 +0000
(17:41 +0300)
committer
Felipe Balbi
<balbi@ti.com>
Fri, 9 Sep 2011 10:05:24 +0000
(13:05 +0300)
We must ensure that those bits aren't set as
they should only be used in simulation.
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 e149f570437abf20c281b60b5abcc304326e235a..92673fd5314dfd75d985260189cb99aca449980e 100644
(file)
--- a/
drivers/usb/dwc3/core.h
+++ b/
drivers/usb/dwc3/core.h
@@
-160,6
+160,7
@@
#define DWC3_GCTL_PRTCAP_OTG 3
#define DWC3_GCTL_CORESOFTRESET (1 << 11)
+#define DWC3_GCTL_SCALEDOWN(n) (n << 4)
#define DWC3_GCTL_DISSCRAMBLE (1 << 3)
/* Global USB2 PHY Configuration Register */