public inbox for linux-omap@vger.kernel.org
 help / color / mirror / Atom feed
* [PATCH] usb: add back otg_get_transceiver
@ 2008-10-03 14:15 Felipe Balbi
  2008-10-03 14:31 ` Tony Lindgren
  0 siblings, 1 reply; 5+ messages in thread
From: Felipe Balbi @ 2008-10-03 14:15 UTC (permalink / raw)
  To: linux-omap; +Cc: Felipe Balbi

make twl4030_usb transceiver reach musb.

Signed-off-by: Felipe Balbi <felipe.balbi@nokia.com>
---
 drivers/usb/musb/omap2430.c |    2 ++
 1 files changed, 2 insertions(+), 0 deletions(-)

diff --git a/drivers/usb/musb/omap2430.c b/drivers/usb/musb/omap2430.c
index 9d2dcb1..be4e779 100644
--- a/drivers/usb/musb/omap2430.c
+++ b/drivers/usb/musb/omap2430.c
@@ -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);
-- 
1.6.0.2.307.gc427


^ permalink raw reply related	[flat|nested] 5+ messages in thread

end of thread, other threads:[~2008-10-03 23:57 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2008-10-03 14:15 [PATCH] usb: add back otg_get_transceiver Felipe Balbi
2008-10-03 14:31 ` Tony Lindgren
2008-10-03 14:30   ` Felipe Balbi
2008-10-03 20:04   ` Nathan Monson
2008-10-03 23:56     ` Felipe Balbi

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox