Commit 9683a947 authored by Felipe Balbi's avatar Felipe Balbi Committed by Tony Lindgren

usb: add back otg_get_transceiver

make twl4030_usb transceiver reach musb.
Signed-off-by: default avatarFelipe Balbi <felipe.balbi@nokia.com>
Signed-off-by: default avatarTony Lindgren <tony@atomide.com>
parent 8b1f0bd4
...@@ -215,12 +215,14 @@ void musb_platform_set_mode(struct musb *musb, u8 musb_mode) ...@@ -215,12 +215,14 @@ void musb_platform_set_mode(struct musb *musb, u8 musb_mode)
int __init musb_platform_init(struct musb *musb) int __init musb_platform_init(struct musb *musb)
{ {
struct otg_transceiver *x = otg_get_transceiver();
u32 l; u32 l;
#if defined(CONFIG_ARCH_OMAP2430) #if defined(CONFIG_ARCH_OMAP2430)
omap_cfg_reg(AE5_2430_USB0HS_STP); omap_cfg_reg(AE5_2430_USB0HS_STP);
#endif #endif
musb->xceiv = *x;
musb_platform_resume(musb); musb_platform_resume(musb);
l = omap_readl(OTG_SYSCONFIG); l = omap_readl(OTG_SYSCONFIG);
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment