Re: [PATCH v3] gpio: interrupt consistency check for OF GPIO IRQs
From: Linus Walleij
Date: Tue Nov 12 2013 - 05:29:48 EST
On Mon, Nov 11, 2013 at 8:33 PM, Stephen Warren <swarren@xxxxxxxxxxxxx> wrote:
> On 11/11/2013 12:17 PM, Gerlando Falauto wrote:
>> Thanks for your answer. So it should be the parent driver to proactively
>> configure the GPIO as input, active high etc..., when an IRQ for its
>> GPIOs is requested, right?
>
> That was the conclusion of this thread, or a similar thread, yes.
Yepps second that.
And we added an API to that you can flag a GPIO as being
in use by an IRQ using gpio_lock_as_irq() from your
irq_chip callbacks.
Yours,
Linus Walleij
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/