Skip to contentSkip to conversation

phy: Revert "phy: ti: j721e-wiz: add missing of_node_put"

PATCH Applied Vinod Koul 1 participant 2 messages Apr 8, 2021 – Apr 12, 2021 Generic PHY framework

lore
Share & tools
lore

Vinod Koul

author maintainer
#0 lore raw

PATCH 1/1 phy: Revert "phy: ti: j721e-wiz: add missing of_node_put"

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

---
 drivers/phy/ti/phy-j721e-wiz.c | 1 -
 1 file changed, 1 deletion(-)
drivers/phy/ti/phy-j721e-wiz.c +0 -1
index 2b354680a272..a03866338d6a 100644
@@ -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);
Signature · 7 lines
2.26.3


-- 
linux-phy mailing list
[email protected]
https://lists.infradead.org/mailman/listinfo/linux-phy
author maintainer Applied
#1 lore raw
Quoted 2 lines · Vinod Koul

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

Signature · 6 lines
~Vinod

-- 
linux-phy mailing list
[email protected]
https://lists.infradead.org/mailman/listinfo/linux-phy