]> git.karo-electronics.de Git - linux-beck.git/commit
usb: dwc2: debugfs: add support for complete register dump
authorMian Yousaf Kaukab <yousaf.kaukab@intel.com>
Wed, 29 Apr 2015 20:09:00 +0000 (22:09 +0200)
committerFelipe Balbi <balbi@ti.com>
Wed, 29 Apr 2015 20:18:32 +0000 (15:18 -0500)
commit563cf017c443137220428712d29cd5510dae2cb2
treea3c4741afee4e664bc4ee64d72d062ac53e74f00
parentf91eea447ac32ddc24eaf1cafeb3830b44b6ceeb
usb: dwc2: debugfs: add support for complete register dump

Dump all registers to take a complete snapshot of dwc2 state.
Code is inspired by dwc3/debugfs.c

Acked-by: John Youn <johnyoun@synopsys.com>
Signed-off-by: Mian Yousaf Kaukab <yousaf.kaukab@intel.com>
Signed-off-by: Felipe Balbi <balbi@ti.com>
drivers/usb/dwc2/core.h
drivers/usb/dwc2/debugfs.c