2016-03-25 03:06:07

by Ruslan Bilovol

[permalink] [raw]
Subject: [PATCH] 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.

Signed-off-by: Ruslan Bilovol <[email protected]>
---
drivers/phy/phy-twl4030-usb.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/drivers/phy/phy-twl4030-usb.c b/drivers/phy/phy-twl4030-usb.c
index 840f3ea..a48214f 100644
--- a/drivers/phy/phy-twl4030-usb.c
+++ b/drivers/phy/phy-twl4030-usb.c
@@ -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;

--
1.9.1