mirror of
https://github.com/brain-hackers/u-boot-brain
synced 2024-09-27 23:20:26 +09:00
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:70e167495a
("arm: dts: k3-j721e: Sync Linux v5.11-rc6 dts into U-Boot") Fixes:6239cc8c4e
("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>
This commit is contained in:
parent
e3b64beda5
commit
c2d21e0ac0
@ -101,7 +101,7 @@ static int cdns_ti_probe(struct udevice *dev)
|
|||||||
if (!data->usbss)
|
if (!data->usbss)
|
||||||
return -EINVAL;
|
return -EINVAL;
|
||||||
|
|
||||||
ret = clk_get_by_name(dev, "usb2_refclk", &usb2_refclk);
|
ret = clk_get_by_name(dev, "ref", &usb2_refclk);
|
||||||
if (ret) {
|
if (ret) {
|
||||||
dev_err(dev, "Failed to get usb2_refclk\n");
|
dev_err(dev, "Failed to get usb2_refclk\n");
|
||||||
return ret;
|
return ret;
|
||||||
|
Loading…
Reference in New Issue
Block a user