summaryrefslogtreecommitdiffstats
path: root/drivers/usb/musb/musb_core.c
diff options
context:
space:
mode:
authorMaulik Mankad <x0082077@ti.com>2010-03-12 10:29:07 +0200
committerGreg Kroah-Hartman <gregkh@suse.de>2010-05-20 13:21:32 -0700
commitde2e1b0c988c901989713869a8bea3b3d02bb9ce (patch)
tree7e94a92044e19651bedbc9ffb2f23ff0b345b12d /drivers/usb/musb/musb_core.c
parente6c213b2968cbee4cfb8f89f2d685b9ad07eefbd (diff)
downloadblackbird-op-linux-de2e1b0c988c901989713869a8bea3b3d02bb9ce.tar.gz
blackbird-op-linux-de2e1b0c988c901989713869a8bea3b3d02bb9ce.zip
usb: musb: Set transceiver interface type
Program the OTG_INTERFSEL register based on transcevier type passed from board file. Adapt signature of musb_platform_init() function for davinci, blackfin and tusb6010. Signed-off-by: Maulik Mankad <x0082077@ti.com> Cc: David Brownell <david-b@pacbell.net> Cc: Sergei Shtylyov <sshtylyov@mvista.com> Cc: Olof Johansson <olof@lixom.net> Signed-off-by: Felipe Balbi <felipe.balbi@nokia.com> Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
Diffstat (limited to 'drivers/usb/musb/musb_core.c')
-rw-r--r--drivers/usb/musb/musb_core.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/usb/musb/musb_core.c b/drivers/usb/musb/musb_core.c
index 3f4c158a9f5e..633272e6d321 100644
--- a/drivers/usb/musb/musb_core.c
+++ b/drivers/usb/musb/musb_core.c
@@ -1943,7 +1943,7 @@ bad_config:
* isp1504, non-OTG, etc) mostly hooking up through ULPI.
*/
musb->isr = generic_interrupt;
- status = musb_platform_init(musb);
+ status = musb_platform_init(musb, plat->board_data);
if (status < 0)
goto fail2;
OpenPOWER on IntegriCloud