Re: [PATCH] usb: dwc3: debugfs: fixes debugfs regdump returning all zeros

2012-10-09 Thread Vivek Gautam
Hi, CC: Ido Shayevitz On Tue, Aug 21, 2012 at 5:48 PM, Vikas Sajjan wrote: > Even though the mem region is requested from the Globals address > space (DWC3_GLOBALS_REGS_START), the offsets are given from the > starting of the xHCI address space. > > By subtracting DWC3_GLOBALS_REGS_START from th

[PATCH] usb: dwc3: debugfs: fixes debugfs regdump returning all zeros

2012-08-21 Thread Vikas Sajjan
Even though the mem region is requested from the Globals address space (DWC3_GLOBALS_REGS_START), the offsets are given from the starting of the xHCI address space. By subtracting DWC3_GLOBALS_REGS_START from the offset ( as done in dwc3_readl() and dwc3_writel() ) resolves the issue. Signed-off-