On 8 January 2013 15:18, Marek Vasut <marex@xxxxxxx> wrote: > Maybe I was too quick about understanding the issue at hand. So allow me a > stupid question -- who's gonna configure the GPIO as input for it to work as IRQ > GPIO? Hmm.. I tried a bit, but couldn't find any such call :( Probably an assumption is taken here. GPIO pins which are going to be used as interrupt lines, wouldn't be getting set in output mode at all. So, once they are put in input mode in beginning, nobody would change it ever. Much of gpio controllers configure gpio pins in input mode in their probe(). Maybe, there is something else :) -- To unsubscribe from this list: send the line "unsubscribe linux-input" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html