On Tue, Oct 15, 2013 at 9:32 PM, Arnd Bergmann <arnd@xxxxxxxx> wrote: > On Friday 11 October 2013, Linus Walleij wrote: >> It *may* be that we have many GPIO drivers that do not accept >> that you request an interrupt on them before you have done >> request_gpio() followed by gpio_to_irq() on the pin. Then this >> shall be treated like a bug and the GPIO driver fixed to handle >> this. (That was the outcome of this discussion.) > > I haven't followed that discussion, but it's good to hear that > you made some progress there. I find it a bit worrying that you > say the behavior may be dependent on the gpio driver, but maybe > I didn't fully understand what the resolution is. It's some consensus on how to do this, but the existing drivers need to be augmented to implement it according to that consensus, especially those using device tree. If noone else helps I guess it goes on top of the pile of stuff for the GPIO maintainer to fix... Yours, Linus Walleij -- To unsubscribe from this list: send the line "unsubscribe devicetree" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html