usb: add back otg_get_transceiver
authorFelipe Balbi <felipe.balbi@nokia.com>
Fri, 3 Oct 2008 14:15:50 +0000 (17:15 +0300)
committerTony Lindgren <tony@atomide.com>
Fri, 3 Oct 2008 14:30:45 +0000 (17:30 +0300)
make twl4030_usb transceiver reach musb.

Signed-off-by: Felipe Balbi <felipe.balbi@nokia.com>
Signed-off-by: Tony Lindgren <tony@atomide.com>
drivers/usb/musb/omap2430.c

index 9d2dcb1..be4e779 100644 (file)
@@ -215,12 +215,14 @@ void musb_platform_set_mode(struct musb *musb, u8 musb_mode)
 
 int __init musb_platform_init(struct musb *musb)
 {
+       struct otg_transceiver *x = otg_get_transceiver();
        u32 l;
 
 #if defined(CONFIG_ARCH_OMAP2430)
        omap_cfg_reg(AE5_2430_USB0HS_STP);
 #endif
 
+       musb->xceiv = *x;
        musb_platform_resume(musb);
 
        l = omap_readl(OTG_SYSCONFIG);