diff options
| author | Runyu Xiao <runyu.xiao@seu.edu.cn> | 2026-10-09 14:01:55 +0800 |
|---|---|---|
| committer | Krzysztof Kozlowski <krzk@kernel.org> | 2026-11-02 11:52:45 +0100 |
| commit | a94cfeb60dc1a9f1e73718d3ba2f9e70834a6b90 (patch) | |
| tree | 06118d235cdb05ceca553532b8bf40e2860c3b8f /tools/perf/scripts/python | |
| parent | c5f343c189aa30285e7c73dbf2f185720467794b (diff) | |
memory: fsl_ifc: guard optional NAND IRQ cleanup
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.
Fixes: 721c0705906e ("powerpc/mpc85xx: Update interrupt handling for IFC controller")
Fixes: 3e25f800afb8 ("memory: fsl_ifc: populate child devices without relying on simple-bus")
Cc: stable@vger.kernel.org
Signed-off-by: Runyu Xiao <runyu.xiao@seu.edu.cn>
Reported-by: Sashiko <sashiko-bot@kernel.org>
Closes: https://sashiko.dev/#/bug/linux-1bbccb12-0e0d-40df-bddb-e6251bc0409b
Link: https://patch.msgid.link/20261009060155.1162262-1-runyu.xiao@seu.edu.cn
Co-developed-by: Krzysztof Kozlowski <krzk@kernel.org>
Signed-off-by: Krzysztof Kozlowski <krzk@kernel.org>
Diffstat (limited to 'tools/perf/scripts/python')
0 files changed, 0 insertions, 0 deletions
