summaryrefslogtreecommitdiffstats
path: root/arch/arm/mach-omap2/usb-musb.c
diff options
context:
space:
mode:
authorHema HK <hemahk@ti.com>2011-03-24 12:39:03 +0100
committerFelipe Balbi <balbi@ti.com>2011-05-18 12:39:54 +0200
commit208466dc10083e734a8af71d10f923ee4bff950c (patch)
tree7a47d11d8c3988abd9f5fd7fd9faba7339ac54b8 /arch/arm/mach-omap2/usb-musb.c
parentusb: otg: OMAP4430: Fixing the omap4430_phy_init function (diff)
downloadlinux-208466dc10083e734a8af71d10f923ee4bff950c.tar.xz
linux-208466dc10083e734a8af71d10f923ee4bff950c.zip
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 <hemahk@ti.com> Cc: Felipe Balbi <balbi@ti.com> Signed-off-by: Felipe Balbi <balbi@ti.com>
Diffstat (limited to 'arch/arm/mach-omap2/usb-musb.c')
-rw-r--r--arch/arm/mach-omap2/usb-musb.c2
1 files changed, 2 insertions, 0 deletions
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 */