projects
/
u-boot.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
c4eef59
)
phy: cadence: phy-cadence-torrent: Change the name of subnode searched
author
Aswath Govindraju
<a-govindraju@ti.com>
Wed, 20 Oct 2021 15:28:57 +0000
(20:58 +0530)
committer
Tom Rini
<trini@konsulko.com>
Wed, 17 Nov 2021 22:09:47 +0000
(17:09 -0500)
Search for "phy" in the subnode names, to syncup with kernel.
Signed-off-by: Aswath Govindraju <a-govindraju@ti.com>
drivers/phy/cadence/phy-cadence-torrent.c
patch
|
blob
|
history
diff --git
a/drivers/phy/cadence/phy-cadence-torrent.c
b/drivers/phy/cadence/phy-cadence-torrent.c
index 141ece479fe5cc904acace1a4b88ddf177a35b22..ef924e7af508b48b9a1e098b700008829c25eb52 100644
(file)
--- 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);