linux/drivers/sh
Runyu Xiao e3ef44e77b sh: maple: Use the matching IRQ cookie when invoking free_irq()
The Maple DMA and VBLANK handlers are registered with
&maple_unsupported_device as their dev_id. Passing NULL to free_irq()
cannot find either action, so the handlers remain registered and the
IRQ core warns.

Use the same cookie when freeing both handlers on the error paths.

Fixes: b3c69e2481 ("maple: more robust device detection.")
Signed-off-by: Runyu Xiao <runyu.xiao@seu.edu.cn>
Assisted-by: LLM
Cc: stable@vger.kernel.org
Tested-by: Florian Fuchs <fuchsfl@gmail.com>
Reviewed-By: Florian Fuchs <fuchsfl@gmail.com>
Reviewed-by: John Paul Adrian Glaubitz <glaubitz@physik.fu-berlin.de>
Signed-off-by: John Paul Adrian Glaubitz <glaubitz@physik.fu-berlin.de>
2026-10-21 19:53:05 +02:00
..
clk Convert 'alloc_obj' family to use the new default GFP_KERNEL argument 2026-02-21 17:09:51 -08:00
intc sh: intc: Sort the prio and sense lists after filling them 2026-10-13 19:00:29 +02:00
maple sh: maple: Use the matching IRQ cookie when invoking free_irq() 2026-10-21 19:53:05 +02:00
Kconfig
Makefile
pm_runtime.c