[PATCH] usb: musb: replace hard coded registers with defines

2014-11-10 Thread Roman Byshko
-off-by: Roman Byshko --- drivers/usb/musb/musb_debugfs.c | 57 ++--- 1 file changed, 30 insertions(+), 27 deletions(-) diff --git a/drivers/usb/musb/musb_debugfs.c b/drivers/usb/musb/musb_debugfs.c index 4c21679..ad3701a 100644 --- a/drivers/usb/musb

Re: [PATCH] usb: musb: replace hard coded registers with defines

2014-11-10 Thread Roman Byshko
-off-by: Roman Byshko --- drivers/usb/musb/musb_debugfs.c | 57 ++--- 1 file changed, 30 insertions(+), 27 deletions(-) diff --git a/drivers/usb/musb/musb_debugfs.c b/drivers/usb/musb/musb_debugfs.c index 4c21679..ad3701a 100644 --- a/drivers/usb/musb

[PATCH] usb: musb: replace hard coded registers with defines

2014-10-27 Thread Roman Byshko
musb registers can be dumped using the file regdump which is created in debugfs. Up to now hard coded register addresses are used for that. Different glue layers however have different register addresses. The patch addresses this issue by substituting bare register addresses with defines. --- dri