summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorKishon Vijay Abraham I <kishon@ti.com>2021-06-01 16:26:16 +0530
committerMarek Vasut <marex@denx.de>2021-06-08 22:01:20 +0200
commitc2d21e0ac087a153f1c4632e4ce46668bbf83633 (patch)
tree3c535031412e1991a7bf2c5794955c7bcac2c81d
parente3b64beda5dd1a6b6bedfd1fe0e50be1ddea7044 (diff)
downloadu-boot-c2d21e0ac087a153f1c4632e4ce46668bbf83633.tar.gz
u-boot-c2d21e0ac087a153f1c4632e4ce46668bbf83633.tar.xz
u-boot-c2d21e0ac087a153f1c4632e4ce46668bbf83633.zip
usb: cdns3: cdns3-ti: Fix clk_get_by_name() to get the correct name
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") Signed-off-by: Kishon Vijay Abraham I <kishon@ti.com> Signed-off-by: Aswath Govindraju <a-govindraju@ti.com>
-rw-r--r--drivers/usb/cdns3/cdns3-ti.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/usb/cdns3/cdns3-ti.c b/drivers/usb/cdns3/cdns3-ti.c
index 7b205c5656..43171678ee 100644
--- a/drivers/usb/cdns3/cdns3-ti.c
+++ b/drivers/usb/cdns3/cdns3-ti.c
@@ -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;