Skip to contentSkip to conversation

usb: cdns3: cdns3-ti: Fix clk_get_by_name() to get the correct name

PATCH Applied Aswath Govindraju 2 participants 2 messages Jun 1, 2021

Subsystems (2)
lore
Share & tools
lore
#0 lore raw

PATCH 1/1 usb: cdns3: cdns3-ti: Fix clk_get_by_name() to get the correct name

From: Kishon Vijay Abraham I <[email protected]>

Kernel device tree got updated to use clock name as "ref" instead of "usb2_refclk". Fix cdns3-ti.c to use the correct name.

Fixes 70e167495ab2 ("arm: dts: k3-j721e: Sync Linux v5.11-rc6 dts into U-Boot")
Fixes 6239cc8c4e84 ("arm: dts: k3-j7200: Sync Linux v5.11-rc6 dts into U-Boot")
---
 drivers/usb/cdns3/cdns3-ti.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
drivers/usb/cdns3/cdns3-ti.c +1 -1
index 7b205c565674..43171678ee17 100644
@@ -101,7 +101,7 @@ static int cdns_ti_probe(struct udevice *dev)
 	if (!data->usbss)
 		return -EINVAL;
 
-	ret = clk_get_by_name(dev, "usb2_refclk", &usb2_refclk);
+	ret = clk_get_by_name(dev, "ref", &usb2_refclk);
 	if (ret) {
 		dev_err(dev, "Failed to get usb2_refclk\n");
 		return ret;
Signature · 1 line
2.17.1
Applied
#1 lore raw
Quoted 4 lines · Aswath Govindraju

From: Kishon Vijay Abraham I <[email protected]>

Kernel device tree got updated to use clock name as "ref" instead of "usb2_refclk". Fix cdns3-ti.c to use the correct name.

Applied, thanks