Message ID | 1436279689-23427-1-git-send-email-grygorii.strashko@ti.com |
---|---|
State | New |
Headers | show |
On Tue, Jul 7, 2015 at 4:34 PM, Grygorii Strashko <grygorii.strashko@ti.com> wrote: > pca953x interrupt controller functionality is implemented using > nested threaded IRQs which require parent_irq to be configured > properly otherwise below warning can be seen if IRQ core > will try re-schedule nested IRQ: Ah, there is the patch. Sorry for the delay, patch applied for fixes. Yours, Linus Walleij -- To unsubscribe from this list: send the line "unsubscribe linux-gpio" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html
diff --git a/drivers/gpio/gpio-pca953x.c b/drivers/gpio/gpio-pca953x.c index d233eb3..50caeb1 100644 --- a/drivers/gpio/gpio-pca953x.c +++ b/drivers/gpio/gpio-pca953x.c @@ -570,6 +570,10 @@ static int pca953x_irq_setup(struct pca953x_chip *chip, "could not connect irqchip to gpiochip\n"); return ret; } + + gpiochip_set_chained_irqchip(&chip->gpio_chip, + &pca953x_irq_chip, + client->irq, NULL); } return 0;