diff options
author | Tom Rini <trini@konsulko.com> | 2022-02-25 11:21:32 -0500 |
---|---|---|
committer | Tom Rini <trini@konsulko.com> | 2022-02-25 11:21:32 -0500 |
commit | c6ae38b38967a5c33d729c20e508a03ba3e0e3f6 (patch) | |
tree | 031471ee357e75ac3789499b47c40bf15829fb71 /drivers/phy/phy-mtk-tphy.c | |
parent | 5d94cbd1dca78deff57b3ffc2a484cfb70579503 (diff) | |
parent | 92a1bba85761e4dd5c0647c48048423bceef4749 (diff) |
Merge tag 'clk-2022.04-rc2' of https://source.denx.de/u-boot/custodians/u-boot-clk
Clock patches for v2022.04-rc2
This has an assortment of cleanups and the occasional bugfix. Also present
is the addition of the clock subsystem documentation to HTML docs.
CI: https://source.denx.de/u-boot/custodians/u-boot-clk/-/pipelines/11075
Diffstat (limited to 'drivers/phy/phy-mtk-tphy.c')
-rw-r--r-- | drivers/phy/phy-mtk-tphy.c | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/drivers/phy/phy-mtk-tphy.c b/drivers/phy/phy-mtk-tphy.c index 824244b8528..2dd964f7b20 100644 --- a/drivers/phy/phy-mtk-tphy.c +++ b/drivers/phy/phy-mtk-tphy.c @@ -723,13 +723,13 @@ static int mtk_tphy_probe(struct udevice *dev) tphy->phys[index] = instance; index++; - err = clk_get_optional_nodev(subnode, "ref", - &instance->ref_clk); + err = clk_get_by_name_nodev_optional(subnode, "ref", + &instance->ref_clk); if (err) return err; - err = clk_get_optional_nodev(subnode, "da_ref", - &instance->da_ref_clk); + err = clk_get_by_name_nodev_optional(subnode, "da_ref", + &instance->da_ref_clk); if (err) return err; } |