[PATCH v4 0/2] media: rcar-isp: fix core IRQ and probe error handling
From: Myeonghun Pak
Date: Mon Nov 09 2026 - 21:05:51 EST
Fix the core IRQ lifetime before changing resource-error handling.
Patch 1 delays IRQ registration and releases it after I/O drain but
before RPPX1 destruction. Patch 2 distinguishes an absent optional core
from initialization failures and preserves deferred probing.
Apply in this order so resource-error cleanup cannot invoke the shared
IRQ handler after core->base is cleared.
Both stages: Clang 23.1.4, ARM64 W=1 object builds. No hardware testing.
AI assistance: Codex prepared the split and descriptions; independent
Codex agents reviewed the code.
Myeonghun Pak (2):
media: rcar-isp: release the core IRQ before destroying RPPX1
media: rcar-isp: distinguish absent cores from probe failures
drivers/media/platform/renesas/rcar-isp/core.c | 44 +++++++++++++-------
.../media/platform/renesas/rcar-isp/risp-core.h | 2 +
2 files changed, 30 insertions(+), 16 deletions(-)
base-commit: d48723711bae9b8cdc56719c448ba42fef28cbee