提交 f4aadbe4 编写于 作者: F Felipe Balbi

usb: dwc3: Fix definition of DWC3_GCTL_U2RSTECN

that should be 1 << 16, not 16. Caused so many
problems and we never caught it before.
Signed-off-by: NFelipe Balbi <balbi@ti.com>
上级 78c58a53
...@@ -147,7 +147,7 @@ ...@@ -147,7 +147,7 @@
/* Global Configuration Register */ /* Global Configuration Register */
#define DWC3_GCTL_PWRDNSCALE(n) (n << 19) #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_RAMCLKSEL(x) ((x & DWC3_GCTL_CLK_MASK) << 6)
#define DWC3_GCTL_CLK_BUS (0) #define DWC3_GCTL_CLK_BUS (0)
#define DWC3_GCTL_CLK_PIPE (1) #define DWC3_GCTL_CLK_PIPE (1)
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册