diff options
author | George Cherian <george.cherian@ti.com> | 2013-03-14 16:05:24 +0530 |
---|---|---|
committer | Felipe Balbi <balbi@ti.com> | 2013-03-18 11:18:13 +0200 |
commit | d4436c3a6e4ea3000b794eb61e0fc1db46d14175 (patch) | |
tree | f33bc801a1a44f158bba053a144e5d6b988eed48 /drivers/usb/dwc3/core.h | |
parent | 40b8156f9426db48d5d648cdc95bd0789981e9f4 (diff) | |
download | blackbird-obmc-linux-d4436c3a6e4ea3000b794eb61e0fc1db46d14175.tar.gz blackbird-obmc-linux-d4436c3a6e4ea3000b794eb61e0fc1db46d14175.zip |
usb: dwc3: core: fix wrong OTG event regitser offset
This patch fixes the wrong OTG_EVT,OTG_EVTEN and OTG_STS register
offsets.
While at that, also add a missing register to debugfs regdump
utility.
Signed-off-by: George Cherian <george.cherian@ti.com>
Signed-off-by: Felipe Balbi <balbi@ti.com>
Diffstat (limited to 'drivers/usb/dwc3/core.h')
-rw-r--r-- | drivers/usb/dwc3/core.h | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/drivers/usb/dwc3/core.h b/drivers/usb/dwc3/core.h index b42f71cb87dd..b69d322e3cab 100644 --- a/drivers/usb/dwc3/core.h +++ b/drivers/usb/dwc3/core.h @@ -154,8 +154,9 @@ /* OTG Registers */ #define DWC3_OCFG 0xcc00 #define DWC3_OCTL 0xcc04 -#define DWC3_OEVTEN 0xcc08 -#define DWC3_OSTS 0xcc0C +#define DWC3_OEVT 0xcc08 +#define DWC3_OEVTEN 0xcc0C +#define DWC3_OSTS 0xcc10 /* Bit fields */ |