summaryrefslogtreecommitdiff
path: root/drivers/usb
diff options
context:
space:
mode:
authorKishon Vijay Abraham I <kishon@ti.com>2021-04-06 08:49:52 +0000
committerPraneeth Bajjuri <praneeth@ti.com>2021-04-09 11:40:52 -0500
commit2f6342de0b865efb18a219196ce2215b40c06eda (patch)
tree48f9118c0ca089714e79673e517d076707b7ebb5 /drivers/usb
parentd928075118759228bcffab75f344186addde3010 (diff)
usb: cdns3: cdns3-ti: Fix clk_get_by_name() to get the correct name
Upstream device tree got updated to use clock name as "ref" instead of "usb2_refclk". Fix cdns3-ti.c to use the correct name. Signed-off-by: Kishon Vijay Abraham I <kishon@ti.com>
Diffstat (limited to 'drivers/usb')
-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 cd7b2113ace..82ca83936fd 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;