From: Hema HK Date: Thu, 24 Mar 2011 11:39:03 +0000 (+0530) Subject: usb: otg: OMAP4430: Powerdown the internal PHY when USB is disabled X-Git-Tag: v3.0-rc1~134^2~1^2 X-Git-Url: https://git.karo-electronics.de/?a=commitdiff_plain;h=208466dc;p=karo-tx-linux.git usb: otg: OMAP4430: Powerdown the internal PHY when USB is disabled 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 Cc: Felipe Balbi Signed-off-by: Felipe Balbi --- diff --git a/arch/arm/mach-omap2/usb-musb.c b/arch/arm/mach-omap2/usb-musb.c index f665adeec3f0..fd95e62e8fcf 100644 --- a/arch/arm/mach-omap2/usb-musb.c +++ b/arch/arm/mach-omap2/usb-musb.c @@ -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 */