ARM: OMAP4: change the device names in usb_bind_phy
authorKishon Vijay Abraham I <kishon@ti.com>
Mon, 6 May 2013 23:39:16 +0000 (16:39 -0700)
committerTony Lindgren <tony@atomide.com>
Mon, 6 May 2013 23:39:16 +0000 (16:39 -0700)
After the device names are created using PLATFORM_DEVID_AUTO, the old
device names given in usb_bind_phy are no longer valid causing the musb
controller not to get the phy reference. Updated the usb_bind_phy with
the new device names to get MUSB functional in omap4 panda.

Signed-off-by: Kishon Vijay Abraham I <kishon@ti.com>
Signed-off-by: Tony Lindgren <tony@atomide.com>
arch/arm/mach-omap2/board-4430sdp.c
arch/arm/mach-omap2/board-omap4panda.c

index 35f3ad0cb7c708b0903f125f6b8646fc90e72c7a..306df0b409353ec2b9745e96128d26bf253c59d5 100644 (file)
@@ -724,7 +724,7 @@ static void __init omap_4430sdp_init(void)
        omap4_sdp4430_wifi_init();
        omap4_twl6030_hsmmc_init(mmc);
 
-       usb_bind_phy("musb-hdrc.0.auto", 0, "omap-usb2.1.auto");
+       usb_bind_phy("musb-hdrc.2.auto", 0, "omap-usb2.3.auto");
        usb_musb_init(&musb_board_data);
 
        status = omap_ethernet_init();
index a71ad345f20d8129788244dcfebd0864e396bd88..1e2c75eee9123403f82c4a8f8294047e06345170 100644 (file)
@@ -435,7 +435,7 @@ static void __init omap4_panda_init(void)
        omap_sdrc_init(NULL, NULL);
        omap4_twl6030_hsmmc_init(mmc);
        omap4_ehci_init();
-       usb_bind_phy("musb-hdrc.0.auto", 0, "omap-usb2.1.auto");
+       usb_bind_phy("musb-hdrc.2.auto", 0, "omap-usb2.3.auto");
        usb_musb_init(&musb_board_data);
        omap4_panda_display_init();
 }