summaryrefslogtreecommitdiffstats
path: root/arch/arm/mach-omap2/usb-musb.c
diff options
context:
space:
mode:
authorHema HK <hemahk@ti.com>2011-02-28 09:49:35 +0100
committerFelipe Balbi <balbi@ti.com>2011-03-01 11:21:39 +0100
commitfb91cde49c327ff957c55d91805bc6abda59b311 (patch)
tree5fcbdc863c6b5621f28cace5f4da2ffa95cb960b /arch/arm/mach-omap2/usb-musb.c
parentusb: otg: OMAP4430: Save/restore the context (diff)
downloadlinux-fb91cde49c327ff957c55d91805bc6abda59b311.tar.xz
linux-fb91cde49c327ff957c55d91805bc6abda59b311.zip
usb: musb: OMAP4430: Power down the PHY during board init
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>
Diffstat (limited to 'arch/arm/mach-omap2/usb-musb.c')
-rw-r--r--arch/arm/mach-omap2/usb-musb.c4
1 files changed, 4 insertions, 0 deletions
diff --git a/arch/arm/mach-omap2/usb-musb.c b/arch/arm/mach-omap2/usb-musb.c
index 5298949d4b11..241fc94b4116 100644
--- a/arch/arm/mach-omap2/usb-musb.c
+++ b/arch/arm/mach-omap2/usb-musb.c
@@ -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