linux/drivers/phy/ti
Felix Gu 584b457f41 phy: ti: j721e-wiz: Fix device node reference leak in wiz_get_lane_phy_types()
The serdes device_node is obtained using of_get_child_by_name(),
which increments the reference count. However, it is never put,
leading to a reference leak.

Add the missing of_node_put() calls to ensure the reference count is
properly balanced.

Fixes: 7ae14cf581 ("phy: ti: j721e-wiz: Implement DisplayPort mode to the wiz driver")
Suggested-by: Vladimir Oltean <olteanv@gmail.com>
Signed-off-by: Felix Gu <ustc.gu@gmail.com>
Reviewed-by: Vladimir Oltean <olteanv@gmail.com>
Link: https://patch.msgid.link/20260212-wiz-v2-1-6e8bd4cc7a4a@gmail.com
Signed-off-by: Vinod Koul <vkoul@kernel.org>
2026-02-27 20:43:29 +05:30
..
Kconfig phy: ti: omap-usb2: enable compile testing 2025-08-13 12:19:24 +05:30
Makefile phy: ti: j721e-wiz: Add support for WIZ module present in TI J721E SoC 2020-01-14 10:50:19 +05:30
phy-am654-serdes.c phy: remove unneeded 'fast_io' parameter in regmap_config 2025-08-20 21:45:43 +05:30
phy-da8xx-usb.c phy: ti: da8xx-usb: Handle devm_pm_runtime_enable() errors 2025-12-23 22:00:51 +05:30
phy-dm816x-usb.c phy: ti: dm816x-usb: drop unused module alias 2025-08-13 12:19:25 +05:30
phy-gmii-sel.c phy: ti: gmii-sel: fix regmap leak on probe failure 2025-12-23 22:54:58 +05:30
phy-j721e-wiz.c phy: ti: j721e-wiz: Fix device node reference leak in wiz_get_lane_phy_types() 2026-02-27 20:43:29 +05:30
phy-omap-control.c phy: ti: omap-control: drop unused module alias 2025-08-13 12:19:25 +05:30
phy-omap-usb2.c phy-for-6.18 2025-10-06 10:34:22 -07:00
phy-ti-pipe3.c phy-for-6.18 2025-10-06 10:34:22 -07:00
phy-tusb1210.c power: supply: Change usb_types from an array into a bitmask 2024-09-03 23:20:28 +02:00
phy-twl4030-usb.c phy: drop probe registration printks 2025-06-16 22:54:21 +05:30