linux/drivers/pmdomain/ti
Zhang Zekun bb3e2f2c66 pmdomain: ti-sci: Add missing of_node_put() for args.np
[ Upstream commit afc2331ef8 ]

of_parse_phandle_with_args() needs to call of_node_put() to decrement
the refcount of args.np. So, Add the missing of_node_put() in the loop.

Fixes: efa5c01cd7 ("soc: ti: ti_sci_pm_domains: switch to use multiple genpds instead of one")
Signed-off-by: Zhang Zekun <zhangzekun11@huawei.com>
Reviewed-by: Dhruva Gole <d-gole@ti.com>
Message-ID: <20241024030442.119506-2-zhangzekun11@huawei.com>
Signed-off-by: Ulf Hansson <ulf.hansson@linaro.org>
Signed-off-by: Sasha Levin <sashal@kernel.org>
History 2024-12-05 14:01:32 +01:00
..
Kconfig pmdomain: ti: Move and add Kconfig options to the pmdomain subsystem 2023-10-04 23:41:56 +02:00
Makefile pmdomain: ti: Move and add Kconfig options to the pmdomain subsystem 2023-10-04 23:41:56 +02:00
omap_prm.c pmdomain: ti: Add a null pointer check to the omap_prm_domain_init 2024-02-14 10:26:11 +01:00
ti_sci_pm_domains.c pmdomain: ti-sci: Add missing of_node_put() for args.np 2024-12-05 14:01:32 +01:00