]> git.ipfire.org Git - thirdparty/kernel/linux.git/commitdiff
gpio: ep93xx: use handle_bad_irq() as default IRQ handler
authorMohamed Ayman <mohamedaymanworkspace@gmail.com>
Fri, 24 Apr 2026 11:59:20 +0000 (14:59 +0300)
committerBartosz Golaszewski <bartosz.golaszewski@oss.qualcomm.com>
Mon, 27 Apr 2026 07:42:16 +0000 (09:42 +0200)
Replace the temporary fallback handle_simple_irq with handle_bad_irq
now that the driver operates with a proper hierarchical IRQ setup.
This ensures unexpected or unmapped interrupts are clearly flagged
instead of being silently handled.

Signed-off-by: Mohamed Ayman <mohamedaymanworkspace@gmail.com>
Reviewed-by: Linus Walleij <linusw@kernel.org>
Link: https://patch.msgid.link/20260424115920.54707-1-mohamedaymanworkspace@gmail.com
Signed-off-by: Bartosz Golaszewski <bartosz.golaszewski@oss.qualcomm.com>
drivers/gpio/gpio-ep93xx.c

index 1f56e44ffc9a3c5edab016a3b66e9d63aabf88ab..8784e433e1ffbf0abe0fd2dfb95e4594a8c864b0 100644 (file)
@@ -323,8 +323,7 @@ static int ep93xx_setup_irqs(struct platform_device *pdev,
        }
 
        girq->default_type = IRQ_TYPE_NONE;
-       /* TODO: replace with handle_bad_irq() once we are fully hierarchical */
-       girq->handler = handle_simple_irq;
+       girq->handler = handle_bad_irq;
 
        return 0;
 }