]> git.ipfire.org Git - thirdparty/kernel/stable.git/commit
ARM: OMAP2+: pm33xx-core: ix device node reference leaks in amx3_idle_init
authorMiaoqian Lin <linmq006@gmail.com>
Tue, 2 Sep 2025 07:59:43 +0000 (15:59 +0800)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Sun, 19 Oct 2025 14:23:11 +0000 (16:23 +0200)
commit1a35536459b38324da7ab25abfae313989da1098
treee846dfd38fc9e56f57481452cc55b4af2d7e465f
parent569e08cecc97c600f98f627c9d1ed33d73b5b5a0
ARM: OMAP2+: pm33xx-core: ix device node reference leaks in amx3_idle_init

commit 74139a64e8cedb6d971c78d5d17384efeced1725 upstream.

Add missing of_node_put() calls to release
device node references obtained via of_parse_phandle().

Fixes: 06ee7a950b6a ("ARM: OMAP2+: pm33xx-core: Add cpuidle_ops for am335x/am437x")
Cc: stable@vger.kernel.org
Signed-off-by: Miaoqian Lin <linmq006@gmail.com>
Link: https://lore.kernel.org/r/20250902075943.2408832-1-linmq006@gmail.com
Signed-off-by: Kevin Hilman <khilman@baylibre.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
arch/arm/mach-omap2/pm33xx-core.c