commit | 1604c1e760119ab3fe9f71679ebaeb058d3d8ae1 | [log] [tgz] |
---|---|---|
author | Jack Pham <jackp@codeaurora.org> | Mon Dec 10 14:28:13 2012 -0800 |
committer | Felipe Balbi <balbi@ti.com> | Thu Dec 13 11:58:38 2012 +0200 |
tree | 433d47b3a7198b1bdf680452d44905c44c4a67c5 | |
parent | 6be35c700f742e911ecedd07fcc43d4439922334 [diff] |
usb: dwc3: debugfs: fix regdump offset As with dwc_readl/writel, the global registers are specified as offsets starting from the beginning of the xHCI address space, but the memory region pointed to by dwc->regs already maps to the start of the global addresses. Fix by offsetting each of the regs relative to DWC3_GLOBALS_REGS_START. Signed-off-by: Jack Pham <jackp@codeaurora.org> Signed-off-by: Felipe Balbi <balbi@ti.com>