We switch the default handler to be handle_bad_irq() instead of handle_simple_irq() (which was not correct anyway).
Unified · Split
| @@ -377,7 +377,7 @@ static int lp_gpio_probe(struct platform_device *pdev) · 376 unmodified lines | ||
| 377 | 377 | return -ENOMEM; |
| 378 | 378 | girq->parents[0] = (unsigned)irq_rc->start; |
| 379 | 379 | girq->default_type = IRQ_TYPE_NONE; |
| 380 | − girq->handler = handle_simple_irq; | |
| 380 | + girq->handler = handle_bad_irq; | |
| 381 | 381 | } |
| 382 | 382 | |
| 383 | 383 | ret = devm_gpiochip_add_data(dev, gc, lg); |