Re: [PATCH] memory: fsl_ifc: guard optional NAND IRQ cleanup
From: Krzysztof Kozlowski
Date: Sat Oct 31 2026 - 10:37:53 EST
On Fri, 09 Oct 2026 14:01:55 +0800, Runyu Xiao wrote:
> The IFC device tree binding permits a controller to provide only the
> common interrupt. In that configuration, irq_of_parse_and_map() returns
> 0 for the optional NAND IRQ and probe skips request_irq(), but both the
> probe unwind and remove paths still call free_irq() unconditionally.
>
> Guard the NAND IRQ cleanup with a check for a non-zero IRQ.
>
> [...]
Applied, thanks!
[1/1] memory: fsl_ifc: guard optional NAND IRQ cleanup
https://git.kernel.org/krzk/linux-mem-ctrl/c/f3b0ddf7a9a3de5a59ae7e25943d60a924d05b99
Best regards,
--
Krzysztof Kozlowski <krzk@xxxxxxxxxx>