[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <97541e82-fe22-f6c0-075a-034ba821227c@atmel.com>
Date: Wed, 7 Sep 2016 11:59:08 +0200
From: Nicolas Ferre <nicolas.ferre@...el.com>
To: Marc Zyngier <marc.zyngier@....com>,
Linus Walleij <linus.walleij@...aro.org>
CC: Andras Szemzo <szemzo.andras@...il.com>,
<linux-arm-kernel@...ts.infradead.org>,
<linux-kernel@...r.kernel.org>,
Jean-Christophe PLAGNIOL-VILLARD <plagnioj@...osoft.com>
Subject: Re: [PATCH] pinctrl/at91: Don't provide a default trigger type
Le 06/09/2016 à 15:58, Marc Zyngier a écrit :
> at91 used to set a default trigger type for GPIO interrupts in
> order to cope with the old board files. These days are long gone,
> and it all gets probed through DT.
>
> Andras Szemzo reported that the Ethernet device on his board was
> bailing to be probed, due to a conflict in interrupt trigger.
> Surely enough, this is due to this default trigger still being
> present, and turning this into a IRQ_TYPE_NONE fixes the issue.
>
> Reported-by: Andras Szemzo <szemzo.andras@...il.com>
> Tested-by: Andras Szemzo <szemzo.andras@...il.com>
> Cc: Linus Walleij <linus.walleij@...aro.org>
> Cc: Nicolas Ferre <nicolas.ferre@...el.com>
Acked-by: Nicolas Ferre <nicolas.ferre@...el.com>
Thanks, bye,
> Cc: Jean-Christophe PLAGNIOL-VILLARD <plagnioj@...osoft.com>
> Signed-off-by: Marc Zyngier <marc.zyngier@....com>
> ---
> drivers/pinctrl/pinctrl-at91.c | 2 +-
> 1 file changed, 1 insertion(+), 1 deletion(-)
>
> 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);
>
--
Nicolas Ferre
Powered by blists - more mailing lists