linux/arch/arm/mach-omap2
Miaoqian Lin d294d60dc6 ARM: OMAP2+: Fix refcount leak in omap3xxx_prm_late_init
[ Upstream commit 942228fbf5d4901112178b93d41225be7c0dd9de ]

of_find_matching_node() returns a node pointer with refcount
incremented, we should use of_node_put() on it when not need anymore.
Add missing of_node_put() to avoid refcount leak.

Fixes: 1e037794f7f0 ("ARM: OMAP3+: PRM: register interrupt information from DT")
Signed-off-by: Miaoqian Lin <linmq006@gmail.com>
Message-Id: <20220526073724.21169-1-linmq006@gmail.com>
Signed-off-by: Tony Lindgren <tony@atomide.com>
Signed-off-by: Sasha Levin <sashal@kernel.org>
2022-08-21 15:15:34 +02:00
..
2020-08-23 17:36:59 -05:00
2015-07-16 00:06:05 -07:00
2019-07-19 17:05:08 -07:00
2020-10-24 10:33:08 -07:00
2020-09-24 14:26:20 +03:00
2020-09-24 14:26:20 +03:00
2020-04-21 09:41:53 -07:00
2019-07-19 17:05:08 -07:00