* [PATCH] phy: cadence: phy-cadence-torrent: Change the name of subnode searched
@ 2021-10-20 15:28 Aswath Govindraju
2021-11-18 19:15 ` Tom Rini
0 siblings, 1 reply; 2+ messages in thread
From: Aswath Govindraju @ 2021-10-20 15:28 UTC (permalink / raw)
To: Kishon Vijay Abraham I; +Cc: u-boot, Aswath Govindraju
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 | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/drivers/phy/cadence/phy-cadence-torrent.c b/drivers/phy/cadence/phy-cadence-torrent.c
index 141ece479fe5..ef924e7af508 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);
--
2.17.1
^ permalink raw reply related [flat|nested] 2+ messages in thread
* Re: [PATCH] phy: cadence: phy-cadence-torrent: Change the name of subnode searched
2021-10-20 15:28 [PATCH] phy: cadence: phy-cadence-torrent: Change the name of subnode searched Aswath Govindraju
@ 2021-11-18 19:15 ` Tom Rini
0 siblings, 0 replies; 2+ messages in thread
From: Tom Rini @ 2021-11-18 19:15 UTC (permalink / raw)
To: Aswath Govindraju; +Cc: Kishon Vijay Abraham I, u-boot
[-- Attachment #1: Type: text/plain, Size: 244 bytes --]
On Wed, Oct 20, 2021 at 08:58:57PM +0530, Aswath Govindraju wrote:
> Search for "phy" in the subnode names, to syncup with kernel.
>
> Signed-off-by: Aswath Govindraju <a-govindraju@ti.com>
Applied to u-boot/next, thanks!
--
Tom
[-- Attachment #2: signature.asc --]
[-- Type: application/pgp-signature, Size: 659 bytes --]
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2021-11-18 19:15 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2021-10-20 15:28 [PATCH] phy: cadence: phy-cadence-torrent: Change the name of subnode searched Aswath Govindraju
2021-11-18 19:15 ` Tom Rini
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.