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>
This commit is contained in:
parent
c4eef59faa
commit
82c65587f6
1 changed files with 2 additions and 2 deletions
|
@ -616,8 +616,8 @@ static int cdns_torrent_phy_probe(struct udevice *dev)
|
||||||
|
|
||||||
/* Going through all the available subnodes or children*/
|
/* Going through all the available subnodes or children*/
|
||||||
ofnode_for_each_subnode(child, dev_ofnode(dev)) {
|
ofnode_for_each_subnode(child, dev_ofnode(dev)) {
|
||||||
/* PHY subnode name must be a 'link' */
|
/* PHY subnode name must be a 'phy' */
|
||||||
if (!ofnode_name_eq(child, "link"))
|
if (!ofnode_name_eq(child, "phy"))
|
||||||
continue;
|
continue;
|
||||||
cdns_phy->phys[node].lnk_rst =
|
cdns_phy->phys[node].lnk_rst =
|
||||||
devm_reset_bulk_get_by_node(dev, child);
|
devm_reset_bulk_get_by_node(dev, child);
|
||||||
|
|
Loading…
Reference in a new issue