diff options
author | Tony Lindgren <tony@atomide.com> | 2011-05-24 03:04:49 -0400 |
---|---|---|
committer | Tony Lindgren <tony@atomide.com> | 2011-05-24 03:04:49 -0400 |
commit | b7679ab3f70482ff4b75a8c735c8224ebedb6020 (patch) | |
tree | 39fba8d730b08ce79090dab49851adffe13dc329 /arch/arm/mach-omap2/usb-musb.c | |
parent | b08827f4c7a5020855abe0f9b1a316f11275b76b (diff) | |
parent | 208466dc10083e734a8af71d10f923ee4bff950c (diff) |
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.c | 10 |
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) | |||
129 | else | 129 | else |
130 | board_data = &musb_default_board_data; | 130 | board_data = &musb_default_board_data; |
131 | 131 | ||
132 | if (cpu_is_omap3517() || cpu_is_omap3505()) { | ||
133 | } else if (cpu_is_omap44xx()) { | ||
134 | usb_musb_mux_init(board_data); | ||
135 | } | ||
136 | |||
137 | /* | 132 | /* |
138 | * REVISIT: This line can be removed once all the platforms using | 133 | * REVISIT: This line can be removed once all the platforms using |
139 | * musb_core.c have been converted to use use clkdev. | 134 | * 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) | |||
176 | dev->dma_mask = &musb_dmamask; | 171 | dev->dma_mask = &musb_dmamask; |
177 | dev->coherent_dma_mask = musb_dmamask; | 172 | dev->coherent_dma_mask = musb_dmamask; |
178 | put_device(dev); | 173 | put_device(dev); |
174 | |||
175 | if (cpu_is_omap44xx()) | ||
176 | omap4430_phy_init(dev); | ||
179 | } | 177 | } |
180 | 178 | ||
181 | #else | 179 | #else |
182 | void __init usb_musb_init(struct omap_musb_board_data *board_data) | 180 | void __init usb_musb_init(struct omap_musb_board_data *board_data) |
183 | { | 181 | { |
182 | if (cpu_is_omap44xx()) | ||
183 | omap4430_phy_init(NULL); | ||
184 | } | 184 | } |
185 | #endif /* CONFIG_USB_MUSB_SOC */ | 185 | #endif /* CONFIG_USB_MUSB_SOC */ |