Skip to contentSkip to conversation

phy: twl4030-usb: fix musb-hdrc name for non-dt case

PATCH New Ruslan Bilovol 1 participant 1 message Mar 25, 2016 Generic PHY framework

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 phy: twl4030-usb: fix musb-hdrc name for non-dt case

musb device is allocated with PLATFORM_DEVID_AUTO, fix incorrect lookup name in non-dt case.
This fixes issue with musb initialization on Nokia N900 in boardfile boot mode.

---
 drivers/phy/phy-twl4030-usb.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
drivers/phy/phy-twl4030-usb.c +1 -1
index 840f3ea..a48214f 100644
@@ -735,7 +735,7 @@ static int twl4030_usb_probe(struct platform_device *pdev)
 	}
 
 	if (pdata)
-		err = phy_create_lookup(phy, "usb", "musb-hdrc.0");
+		err = phy_create_lookup(phy, "usb", "musb-hdrc.0.auto");
 	if (err)
 		return err;
 
Signature · 1 line
1.9.1