There are two clocks that fail when attempting to use them. This
patch patches the clock names to match those in hwmods.
Signed-off-by: Adam Ford <redacted>
diff --git a/drivers/usb/musb/am35x.c b/drivers/usb/musb/am35x.c
index a55db15a8457..56f8e13f4c1b 100644
--- a/drivers/usb/musb/am35x.c
+++ b/drivers/usb/musb/am35x.c
@@ -455,14 +455,14 @@ static int am35x_probe(struct platform_device *pdev)
if (!glue)
goto err0;
- phy_clk = clk_get(&pdev->dev, "fck");
+ phy_clk = clk_get(&pdev->dev, "hsotgusb_fck");
if (IS_ERR(phy_clk)) {
dev_err(&pdev->dev, "failed to get PHY clock\n");
ret = PTR_ERR(phy_clk);
goto err3;
}
- clk = clk_get(&pdev->dev, "ick");
+ clk = clk_get(&pdev->dev, "hsotgusb_ick");
if (IS_ERR(clk)) {
dev_err(&pdev->dev, "failed to get clock\n");
ret = PTR_ERR(clk);--
2.17.1