diff options
author | Aswath Govindraju <a-govindraju@ti.com> | 2021-10-20 20:58:57 +0530 |
---|---|---|
committer | Tom Rini <trini@konsulko.com> | 2021-11-17 17:09:47 -0500 |
commit | 82c65587f62871b53aee97423a1c87dc0f063e10 (patch) | |
tree | 38a6bf7b049259004f472c7d82b759740f8bbf06 /drivers | |
parent | c4eef59faab6ae4ecb1beae6d4391b0889bc3ff3 (diff) | |
download | u-boot-82c65587f62871b53aee97423a1c87dc0f063e10.zip u-boot-82c65587f62871b53aee97423a1c87dc0f063e10.tar.gz u-boot-82c65587f62871b53aee97423a1c87dc0f063e10.tar.bz2 |
phy: cadence: phy-cadence-torrent: Change the name of subnode searched
Search for "phy" in the subnode names, to syncup with kernel.
Signed-off-by: Aswath Govindraju <a-govindraju@ti.com>
Diffstat (limited to 'drivers')
-rw-r--r-- | drivers/phy/cadence/phy-cadence-torrent.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/drivers/phy/cadence/phy-cadence-torrent.c b/drivers/phy/cadence/phy-cadence-torrent.c index 141ece4..ef924e7 100644 --- a/drivers/phy/cadence/phy-cadence-torrent.c +++ b/drivers/phy/cadence/phy-cadence-torrent.c @@ -616,8 +616,8 @@ static int cdns_torrent_phy_probe(struct udevice *dev) /* Going through all the available subnodes or children*/ ofnode_for_each_subnode(child, dev_ofnode(dev)) { - /* PHY subnode name must be a 'link' */ - if (!ofnode_name_eq(child, "link")) + /* PHY subnode name must be a 'phy' */ + if (!ofnode_name_eq(child, "phy")) continue; cdns_phy->phys[node].lnk_rst = devm_reset_bulk_get_by_node(dev, child); |