Linux-PHY Archive on lore.kernel.org
 help / color / mirror / Atom feed
* [PATCH] phy: Revert "phy: ti: j721e-wiz: add missing of_node_put"
@ 2021-04-08  6:29 Vinod Koul
  2021-04-12  5:05 ` Vinod Koul
  0 siblings, 1 reply; 2+ messages in thread
From: Vinod Koul @ 2021-04-08  6:29 UTC (permalink / raw)
  To: Kishon Vijay Abraham I; +Cc: linux-phy, Vinod Koul, Junlin Yang

This reverts commit 00f2e6f668b0 ("phy: ti: j721e-wiz: add missing of_node_put")
as it erroneously adds the of_node_put() as incorrect place.

Reported-by: Junlin Yang <yangjunlin@yulong.com>
Signed-off-by: Vinod Koul <vkoul@kernel.org>
---
 drivers/phy/ti/phy-j721e-wiz.c | 1 -
 1 file changed, 1 deletion(-)

diff --git a/drivers/phy/ti/phy-j721e-wiz.c b/drivers/phy/ti/phy-j721e-wiz.c
index 2b354680a272..a03866338d6a 100644
--- a/drivers/phy/ti/phy-j721e-wiz.c
+++ b/drivers/phy/ti/phy-j721e-wiz.c
@@ -1114,7 +1114,6 @@ static int wiz_get_lane_phy_types(struct device *dev, struct wiz *wiz)
 			dev_err(dev,
 				"%s: Reading \"reg\" from \"%s\" failed: %d\n",
 				__func__, subnode->name, ret);
-			of_node_put(subnode);
 			return ret;
 		}
 		of_property_read_u32(subnode, "cdns,num-lanes", &num_lanes);
-- 
2.26.3


-- 
linux-phy mailing list
linux-phy@lists.infradead.org
https://lists.infradead.org/mailman/listinfo/linux-phy

^ permalink raw reply related	[flat|nested] 2+ messages in thread

* Re: [PATCH] phy: Revert "phy: ti: j721e-wiz: add missing of_node_put"
  2021-04-08  6:29 [PATCH] phy: Revert "phy: ti: j721e-wiz: add missing of_node_put" Vinod Koul
@ 2021-04-12  5:05 ` Vinod Koul
  0 siblings, 0 replies; 2+ messages in thread
From: Vinod Koul @ 2021-04-12  5:05 UTC (permalink / raw)
  To: Kishon Vijay Abraham I; +Cc: linux-phy, Junlin Yang

On 08-04-21, 11:59, Vinod Koul wrote:
> This reverts commit 00f2e6f668b0 ("phy: ti: j721e-wiz: add missing of_node_put")
> as it erroneously adds the of_node_put() as incorrect place.

Applied, thanks

-- 
~Vinod

-- 
linux-phy mailing list
linux-phy@lists.infradead.org
https://lists.infradead.org/mailman/listinfo/linux-phy

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2021-04-12  5:05 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2021-04-08  6:29 [PATCH] phy: Revert "phy: ti: j721e-wiz: add missing of_node_put" Vinod Koul
2021-04-12  5:05 ` Vinod Koul

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox