]> pilppa.com Git - linux-2.6-omap-h63xx.git/commitdiff
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 9d2dcb121c5e95cc7e6ba81a5cdfa59ae07637ae..be4e77923c26e8fe2f2967e037d2ad09652f36e0 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);