[PATCH v2] gpio/gpiolib: Forbid irqchip default trigger if probed over DT

Linus Walleij linus.walleij at linaro.org
Wed Sep 7 15:18:13 PDT 2016


On Wed, Sep 7, 2016 at 10:12 AM, Marc Zyngier <marc.zyngier at arm.com> wrote:

> Using a default trigger is a bad idea if using DT to configure
> interrupts, as the device's interrupt specifier will always contain
> the trigger configuration.
>
> Let's warn about that particular situation, and revert to not
> having a default. Hopefully, the couple of drivers still using
> this feature will quickly be fixed.
>
> Signed-off-by: Marc Zyngier <marc.zyngier at arm.com>
> ---
> Send the tested patch this time around...

I got it the first time, don't worry :D

Yours,
Linus Walleij



More information about the linux-arm-kernel mailing list