diff mbox

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

Message ID CAFULf_xEyAzJjxm6U+eVbdidSa3soVmn8J9NcJ=w8Fhf65yQaw@mail.gmail.com (mailing list archive)
State New, archived
Headers show

Commit Message

Bjarne Steinsbo Aug. 4, 2011, 6:02 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.
---
 arch/arm/mach-omap2/usb-musb.c |    3 ---
 1 files changed, 0 insertions(+), 3 deletions(-)

 		name = "musb-am35x";

Comments

Felipe Balbi Aug. 12, 2011, 9:48 a.m. UTC | #1
Hi,

On Thu, Aug 04, 2011 at 08:02:18PM +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.

you're missing your's Signed-off-by line.
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";