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 | return -ENOMEM; | 377 | return -ENOMEM; |
| 378 | girq->parents[0] = (unsigned)irq_rc->start; | 378 | girq->parents[0] = (unsigned)irq_rc->start; |
| 379 | girq->default_type = IRQ_TYPE_NONE; | 379 | girq->default_type = IRQ_TYPE_NONE; |
| 380 | girq->handler = handle_simple_irq; | 380 | girq->handler = handle_bad_irq; |
| 381 | } | 381 | } |
| 382 | 382 | ||
| 383 | ret = devm_gpiochip_add_data(dev, gc, lg); | 383 | ret = devm_gpiochip_add_data(dev, gc, lg); |