Skip to content

Commit

Permalink
usb: musb: OMAP4430: Power down the PHY during board init
Browse files Browse the repository at this point in the history
Powerdown the internal PHY during board init for OMAP44xx.
So that when musb is disabled core transition to retention/off
is not blocked.

Signed-off-by: Hema HK <hemahk@ti.com>
Cc: Tony Lindgren <tony@atomide.com>
Cc: Paul Walmsley <paul@pwsan.com>
Signed-off-by: Felipe Balbi <balbi@ti.com>
  • Loading branch information
Hema HK authored and Felipe Balbi committed Mar 1, 2011
1 parent 8c59ef3 commit fb91cde
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions arch/arm/mach-omap2/usb-musb.c
Original file line number Diff line number Diff line change
Expand Up @@ -214,6 +214,10 @@ void __init usb_musb_init(struct omap_musb_board_data *board_data)

if (platform_device_register(&musb_device) < 0)
printk(KERN_ERR "Unable to register HS-USB (MUSB) device\n");

if (cpu_is_omap44xx())
omap4430_phy_init(dev);

}

#else
Expand Down

0 comments on commit fb91cde

Please sign in to comment.