From: Kishon Vijay Abraham I Date: Thu, 14 Mar 2013 06:23:58 +0000 (+0530) Subject: usb: musb: omap: add usb_phy_init in omap2430_musb_init X-Git-Url: https://git.karo-electronics.de/?a=commitdiff_plain;h=3bf6db9bbe4ad7b08b714c1857a703c1ef1b1e83;p=linux-beck.git 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 Signed-off-by: Felipe Balbi --- 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) if (glue->status != OMAP_MUSB_UNKNOWN) omap_musb_set_mailbox(glue); + usb_phy_init(musb->xceiv); + pm_runtime_put_noidle(musb->controller); return 0;