aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/usb/musb/omap2430.c
diff options
context:
space:
mode:
authorKishon Vijay Abraham I <kishon@ti.com>2013-03-14 02:23:58 -0400
committerFelipe Balbi <balbi@ti.com>2013-03-18 05:18:26 -0400
commit3bf6db9bbe4ad7b08b714c1857a703c1ef1b1e83 (patch)
tree3555b282eba414b112cd1e607fd716f8a8f14ce3 /drivers/usb/musb/omap2430.c
parentbb467cf5693b59c76c22b73dd383920a87f37b16 (diff)
usb: musb: omap: add usb_phy_init in omap2430_musb_init
Some PHYs load too early (twl4030) making omap glue to miss cable connect events if the board is booted with cable connected. So adding usb_phy_init in omap2430_musb_init lets PHYs to report events once glue is ready. Signed-off-by: Kishon Vijay Abraham I <kishon@ti.com> Signed-off-by: Felipe Balbi <balbi@ti.com>
Diffstat (limited to 'drivers/usb/musb/omap2430.c')
-rw-r--r--drivers/usb/musb/omap2430.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/drivers/usb/musb/omap2430.c b/drivers/usb/musb/omap2430.c
index 018373d1c2c4..ec460eaed842 100644
--- a/drivers/usb/musb/omap2430.c
+++ b/drivers/usb/musb/omap2430.c
@@ -391,6 +391,8 @@ static int omap2430_musb_init(struct musb *musb)
391 if (glue->status != OMAP_MUSB_UNKNOWN) 391 if (glue->status != OMAP_MUSB_UNKNOWN)
392 omap_musb_set_mailbox(glue); 392 omap_musb_set_mailbox(glue);
393 393
394 usb_phy_init(musb->xceiv);
395
394 pm_runtime_put_noidle(musb->controller); 396 pm_runtime_put_noidle(musb->controller);
395 return 0; 397 return 0;
396 398