linux/arch/arm/mach-omap2
Miaoqian Lin c9ec7993d0 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-25 11:15:01 +02:00
..
2017-09-19 11:04:56 -07:00
2017-07-17 15:04:47 +02:00
2018-04-16 10:22:40 -07:00
2019-12-13 08:52:11 +01:00
2018-04-30 12:04:51 -07:00
2015-07-16 00:06:05 -07:00
2015-07-20 10:52:36 -07:00
2018-06-11 17:49:09 -07:00
2017-10-10 14:27:13 -07:00
2016-06-10 04:17:07 -07:00