commit | 6cc2af6d50204e8a1034ecd162378ceea22b09e8 | [log] [tgz] |
---|---|---|
author | Hans de Goede <hdegoede@redhat.com> | Fri Mar 20 20:11:12 2015 +0100 |
committer | Felipe Balbi <balbi@ti.com> | Tue May 26 10:46:54 2015 -0500 |
tree | da62fadb96bb790ebbdc9ce0b1fbe7fbcaf4a2f3 | |
parent | 0cb74b3dc45a5448161eb481d4709cdda2a889fd [diff] |
usb: musb: Make busctl_offset an io-op rather then a define The Allwinner (sunxi) implementation of the musb has its busctl registers indexed by the MUSB_INDEX register rather then in a flat address space. This commit turns MUSB_BUSCTL_OFFSET from a macro into an io-op which can be overridden from the platform ops. Signed-off-by: Hans de Goede <hdegoede@redhat.com> Signed-off-by: Felipe Balbi <balbi@ti.com>