]> git.baikalelectronics.ru Git - kernel.git/commit
usb: musb: replace hard coded registers with defines
authorRoman Byshko <rbyshko@gmail.com>
Mon, 10 Nov 2014 20:53:32 +0000 (21:53 +0100)
committerFelipe Balbi <balbi@ti.com>
Tue, 18 Nov 2014 15:35:12 +0000 (09:35 -0600)
commit6b33fb7aa2a00a44043863fd45cb8eb398743128
treebddbe5ce5eb3c50794ebae1b43e6bc749121f2f2
parent8e75e79af2c83eca17035d7f18c8044a4987bab0
usb: musb: replace hard coded registers with defines

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.

Signed-off-by: Roman Byshko <rbyshko@gmail.com>
Signed-off-by: Felipe Balbi <balbi@ti.com>
drivers/usb/musb/musb_debugfs.c