diff options
author | Felipe Balbi <balbi@ti.com> | 2011-09-08 16:39:59 +0200 |
---|---|---|
committer | Felipe Balbi <balbi@ti.com> | 2011-09-09 12:05:22 +0200 |
commit | f4aadbe49e9b0cae2c5e889061e10b9a335fe791 (patch) | |
tree | 79813cbf3ee5dde8395e29285d79a49a7ab1cac8 | |
parent | usb: dwc3: gadget: do not map/unmap ZLP transfers (diff) | |
download | linux-f4aadbe49e9b0cae2c5e889061e10b9a335fe791.tar.xz linux-f4aadbe49e9b0cae2c5e889061e10b9a335fe791.zip |
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: Felipe Balbi <balbi@ti.com>
-rw-r--r-- | drivers/usb/dwc3/core.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/usb/dwc3/core.h b/drivers/usb/dwc3/core.h index 2e73d33e171d..e149f570437a 100644 --- 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) |