Re: (subset) [PATCH v2] mfd: palmas: Fix potential IRQ action leaks on removal
From: Lee Jones
Date: Wed Dec 02 2026 - 09:14:09 EST
On Tue, 24 Nov 2026 21:58:36 +0800, Guangshuo Li wrote:
> The remove callback deletes the IRQ chip before managed OF children
> are removed. Their later free_irq() calls cannot find the disposed IRQ
> descriptors, potentially leaking interrupt actions.
>
> Use managed registration for the IRQ chip and auxiliary I2C clients so
> the children are removed first. Manage the power-off handler cleanup
> as well and drop the remove callback and explicit error unwinding.
>
> [...]
Applied, thanks!
[1/1] mfd: palmas: Fix potential IRQ action leaks on removal
https://git.kernel.org/lee/mfd/c/3fbd092f9da4
--
Lee Jones [李琼斯]