diff mbox

[PATCHv2,3/4] usb: musb: OMAP4430: Remove incorrect call to omap4430_phy_init()

Message ID CAFULf_xk4xWLq4zhGokpTqoh95eUe3sg1vvVg_KCbJ3VXDkkRg@mail.gmail.com (mailing list archive)
State New, archived
Headers show

Commit Message

Bjarne Steinsbo Aug. 12, 2011, 3:28 p.m. UTC
Don't call omap4430_phy_init(dev) before dev is initialized.
The real omap4430_phy_init(dev) call is done at the end of
this function.

Signed-off-by: Bjarne Steinsbo <bsteinsbo@gmail.com>
---
V2: Oops.. Add missing sob.

 arch/arm/mach-omap2/usb-musb.c |    3 ---
 1 files changed, 0 insertions(+), 3 deletions(-)

 		name = "musb-am35x";

Comments

Felipe Balbi Aug. 16, 2011, 6:54 a.m. UTC | #1
On Fri, Aug 12, 2011 at 05:28:07PM +0200, Bjarne Steinsbo wrote:
> Don't call omap4430_phy_init(dev) before dev is initialized.
> The real omap4430_phy_init(dev) call is done at the end of
> this function.
> 
> Signed-off-by: Bjarne Steinsbo <bsteinsbo@gmail.com>

Tony, you can have this one through your OMAP tree:

Acked-by: Felipe Balbi <balbi@ti.com>
diff mbox

Patch

diff --git a/arch/arm/mach-omap2/usb-musb.c b/arch/arm/mach-omap2/usb-musb.c
index a65145b..19e4dac 100644
--- a/arch/arm/mach-omap2/usb-musb.c
+++ b/arch/arm/mach-omap2/usb-musb.c
@@ -137,9 +137,6 @@  void __init usb_musb_init(struct
omap_musb_board_data *musb_board_data)
 	musb_plat.mode = board_data->mode;
 	musb_plat.extvbus = board_data->extvbus;

-	if (cpu_is_omap44xx())
-		omap4430_phy_init(dev);
-
 	if (cpu_is_omap3517() || cpu_is_omap3505()) {
 		oh_name = "am35x_otg_hs";