Skip to content

Commit

Permalink
usb: otg: OMAP4430: Powerdown the internal PHY when USB is disabled
Browse files Browse the repository at this point in the history
Powerdown the internal UTMI PHY when USB is not enabled. This will
allow the OMAP core domain to transition to retention and offmode.

Signed-off-by: Hema HK <hemahk@ti.com>
Cc: Felipe Balbi <balbi@ti.com>
Signed-off-by: Felipe Balbi <balbi@ti.com>
  • Loading branch information
Hema HK authored and Felipe Balbi committed May 18, 2011
1 parent 8cfc67f commit 208466d
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions arch/arm/mach-omap2/usb-musb.c
Original file line number Diff line number Diff line change
Expand Up @@ -167,5 +167,7 @@ void __init usb_musb_init(struct omap_musb_board_data *board_data)
#else
void __init usb_musb_init(struct omap_musb_board_data *board_data)
{
if (cpu_is_omap44xx())
omap4430_phy_init(NULL);
}
#endif /* CONFIG_USB_MUSB_SOC */

0 comments on commit 208466d

Please sign in to comment.