irq_create_fwspec_mapping() in 4.8-rc2
Andras Szemzo
szemzo.andras at gmail.com
Fri Sep 2 08:15:44 PDT 2016
Hi,
> On 02 Sep 2016, at 17:09, Marc Zyngier <marc.zyngier at arm.com> wrote:
>
> So something has already configured the interrupt to be
> IRQ_TYPE_EDGE_BOTH, and this clashes with your
> IRQ_TYPE_EDGE_FALLING.
>
> My bet is on this one:
>
> diff --git a/drivers/pinctrl/pinctrl-at91.c b/drivers/pinctrl/pinctrl-at91.c
> index 80daead..9f09041 100644
> --- a/drivers/pinctrl/pinctrl-at91.c
> +++ b/drivers/pinctrl/pinctrl-at91.c
> @@ -1614,7 +1614,7 @@ static int at91_gpio_of_irq_setup(struct platform_device *pdev,
> &gpio_irqchip,
> 0,
> handle_edge_irq,
> - IRQ_TYPE_EDGE_BOTH);
> + IRQ_TYPE_NONE);
> if (ret) {
> dev_err(&pdev->dev, "at91_gpio.%d: Couldn't add irqchip to gpiochip.\n",
> at91_gpio->pioc_idx);
>
> Can you give it a go and let me know what happens?
yes, this fixed the problem. Thank you, it was fast!
Regards,
Andras
More information about the linux-arm-kernel
mailing list