Re: [PATCH] ARM: OMAP2+: Fix CPCAP node reference leaks
From: Kevin Hilman
Date: Wed Dec 02 2026 - 19:08:13 EST
On Tue, 24 Nov 2026 15:10:06 +0000, Yuho Choi wrote:
> omap4_cpcap_init(), cpcap_late_init() and omap4_twl_init() call
> of_find_compatible_node() to check whether the device tree has a
> "motorola,cpcap" node. of_find_compatible_node() returns the node with
> its reference count raised, but the callers only test the returned
> pointer and never drop that reference.
>
> Put the node right after the check.
>
> [...]
Applied, thanks!
[1/1] ARM: OMAP2+: Fix CPCAP node reference leaks
commit: 2e258945598d64477824ab81f510fb7e856da5fd
Best regards,
--
Kevin Hilman (TI) <khilman@xxxxxxxxxxxx>