On Wed, Oct 16, 2013 at 2:47 AM, Javier Martinez Canillas <javier.martinez@xxxxxxxxxxxxxxx> wrote: > The OMAP GPIO driver keeps track about GPIO pins that are > used as IRQ lines for two reasons: > > 1) To prevent GPIO banks to be disabled while one of their > GPIO pins are only used as an interrupt line. > > 2) To not allow another caller to set the GPIO pin as output. > > Now gpiolib has an API to mark GPIO pins as used as IRQ lines > so the GPIO core only allows to set as output GPIO pins not > tied to an IRQ. So there is no need to have custom code for 2). > > The IRQ usage still has to be maintained locally for 1) though. > > Signed-off-by: Javier Martinez Canillas <javier.martinez@xxxxxxxxxxxxxxx> Patch applied. I had to merge in v3.12-rc4 to get the dependency fixes, so I guess you did something similar when developing this... Yours, Linus Walleij -- To unsubscribe from this list: send the line "unsubscribe linux-omap" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html