diff options
author | Kishon Vijay Abraham I <kishon@ti.com> | 2021-06-01 16:26:16 +0530 |
---|---|---|
committer | Marek Vasut <marex@denx.de> | 2021-06-08 22:01:20 +0200 |
commit | c2d21e0ac087a153f1c4632e4ce46668bbf83633 (patch) | |
tree | 3c535031412e1991a7bf2c5794955c7bcac2c81d | |
parent | e3b64beda5dd1a6b6bedfd1fe0e50be1ddea7044 (diff) | |
download | u-boot-c2d21e0ac087a153f1c4632e4ce46668bbf83633.zip u-boot-c2d21e0ac087a153f1c4632e4ce46668bbf83633.tar.gz u-boot-c2d21e0ac087a153f1c4632e4ce46668bbf83633.tar.bz2 |
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.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/usb/cdns3/cdns3-ti.c b/drivers/usb/cdns3/cdns3-ti.c index 7b205c5..4317167 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; |