summaryrefslogtreecommitdiffstats
path: root/drivers/usb/musb/musb_io.h
diff options
context:
space:
mode:
authorTony Lindgren <tony@atomide.com>2014-11-24 11:05:03 -0800
committerFelipe Balbi <balbi@ti.com>2014-11-25 08:47:06 -0600
commitd026e9c76aac3632af174cf02d5c94defa5e6026 (patch)
tree2eee0a3c62ae59c3e5a366f61172c7ff2b883a2a /drivers/usb/musb/musb_io.h
parent1b40fc57a517878cf4c2e16ce29cc9a066dc1064 (diff)
downloadtalos-obmc-linux-d026e9c76aac3632af174cf02d5c94defa5e6026.tar.gz
talos-obmc-linux-d026e9c76aac3632af174cf02d5c94defa5e6026.zip
usb: musb: Change end point selection to use new IO access
This allows the endpoints to work when multiple MUSB glue layers are built in. Cc: Fabio Baltieri <fabio.baltieri@linaro.org> Cc: Lee Jones <lee.jones@linaro.org> Cc: Lars-Peter Clausen <lars@metafoo.de> Acked-by: Linus Walleij <linus.walleij@linaro.org> Acked-by: Apelete Seketeli <apelete@seketeli.net> Signed-off-by: Tony Lindgren <tony@atomide.com> Signed-off-by: Felipe Balbi <balbi@ti.com>
Diffstat (limited to 'drivers/usb/musb/musb_io.h')
-rw-r--r--drivers/usb/musb/musb_io.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/drivers/usb/musb/musb_io.h b/drivers/usb/musb/musb_io.h
index 14aa21747b0a..8a57a6f4b3a6 100644
--- a/drivers/usb/musb/musb_io.h
+++ b/drivers/usb/musb/musb_io.h
@@ -37,6 +37,8 @@
#include <linux/io.h>
+#define musb_ep_select(_mbase, _epnum) musb->io.ep_select((_mbase), (_epnum))
+
/**
* struct musb_io - IO functions for MUSB
* @quirks: platform specific flags
OpenPOWER on IntegriCloud