summaryrefslogtreecommitdiffstats
path: root/drivers/usb/dwc3/debugfs.c
diff options
context:
space:
mode:
authorGeorge Cherian <george.cherian@ti.com>2013-03-14 11:35:24 +0100
committerFelipe Balbi <balbi@ti.com>2013-03-18 10:18:13 +0100
commitd4436c3a6e4ea3000b794eb61e0fc1db46d14175 (patch)
treef33bc801a1a44f158bba053a144e5d6b988eed48 /drivers/usb/dwc3/debugfs.c
parentusb: renesas: remove unused DMA_ADDR_INVALID (diff)
downloadlinux-d4436c3a6e4ea3000b794eb61e0fc1db46d14175.tar.xz
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/debugfs.c')
-rw-r--r--drivers/usb/dwc3/debugfs.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/drivers/usb/dwc3/debugfs.c b/drivers/usb/dwc3/debugfs.c
index 8b23d0455b1c..9e9f122162f2 100644
--- a/drivers/usb/dwc3/debugfs.c
+++ b/drivers/usb/dwc3/debugfs.c
@@ -372,6 +372,7 @@ static const struct debugfs_reg32 dwc3_regs[] = {
dump_register(OCFG),
dump_register(OCTL),
+ dump_register(OEVT),
dump_register(OEVTEN),
dump_register(OSTS),
};