[<prev] [next>] [day] [month] [year] [list]
Message-Id: <1458875157-19077-1-git-send-email-ruslan.bilovol@gmail.com>
Date: Fri, 25 Mar 2016 05:05:57 +0200
From: Ruslan Bilovol <ruslan.bilovol@...il.com>
To: kishon@...com
Cc: linux-kernel@...r.kernel.org, linux-usb@...r.kernel.org
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 <ruslan.bilovol@...il.com>
---
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
Powered by blists - more mailing lists