[RFC,2/5] usb: musb: am35x: Match clock assignements to hwmods
diff mbox

Message ID 20180625001233.9785-3-aford173@gmail.com
State New
Headers show

Commit Message

Adam Ford June 25, 2018, 12:12 a.m. UTC
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 <aford173@gmail.com>

Patch
diff mbox

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);