Message ID | 20210601105617.5331-1-a-govindraju@ti.com |
---|---|
State | Accepted |
Commit | c2d21e0ac087a153f1c4632e4ce46668bbf83633 |
Delegated to: | Marek Vasut |
Headers | show |
Series | usb: cdns3: cdns3-ti: Fix clk_get_by_name() to get the correct name | expand |
On 6/1/21 12:56 PM, Aswath Govindraju wrote: > From: Kishon Vijay Abraham I <kishon@ti.com> > > 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
diff --git a/drivers/usb/cdns3/cdns3-ti.c b/drivers/usb/cdns3/cdns3-ti.c index 7b205c565674..43171678ee17 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;