summaryrefslogtreecommitdiffstats
path: root/arch/arm/mach-omap2/usb-musb.c
diff options
context:
space:
mode:
authorTony Lindgren <tony@atomide.com>2011-05-24 09:04:49 +0200
committerTony Lindgren <tony@atomide.com>2011-05-24 09:04:49 +0200
commitb7679ab3f70482ff4b75a8c735c8224ebedb6020 (patch)
tree39fba8d730b08ce79090dab49851adffe13dc329 /arch/arm/mach-omap2/usb-musb.c
parentMerge branches 'devel-fixes', 'devel-cleanup' and 'devel-genirq' into for-next (diff)
parentusb: otg: OMAP4430: Powerdown the internal PHY when USB is disabled (diff)
downloadlinux-b7679ab3f70482ff4b75a8c735c8224ebedb6020.tar.xz
linux-b7679ab3f70482ff4b75a8c735c8224ebedb6020.zip
Merge branch 'for-tony' of master.kernel.org:/pub/scm/linux/kernel/git/balbi/usb into omap-for-linus
Diffstat (limited to 'arch/arm/mach-omap2/usb-musb.c')
-rw-r--r--arch/arm/mach-omap2/usb-musb.c10
1 files changed, 5 insertions, 5 deletions
diff --git a/arch/arm/mach-omap2/usb-musb.c b/arch/arm/mach-omap2/usb-musb.c
index dfa5a3cb5a17..c7ed540d868d 100644
--- a/arch/arm/mach-omap2/usb-musb.c
+++ b/arch/arm/mach-omap2/usb-musb.c
@@ -129,11 +129,6 @@ void __init usb_musb_init(struct omap_musb_board_data *musb_board_data)
else
board_data = &musb_default_board_data;
- if (cpu_is_omap3517() || cpu_is_omap3505()) {
- } else if (cpu_is_omap44xx()) {
- usb_musb_mux_init(board_data);
- }
-
/*
* REVISIT: This line can be removed once all the platforms using
* musb_core.c have been converted to use use clkdev.
@@ -176,10 +171,15 @@ void __init usb_musb_init(struct omap_musb_board_data *musb_board_data)
dev->dma_mask = &musb_dmamask;
dev->coherent_dma_mask = musb_dmamask;
put_device(dev);
+
+ if (cpu_is_omap44xx())
+ omap4430_phy_init(dev);
}
#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 */