On Tue, Sep 19, 2017 at 2:32 PM, Timur Tabi <timur@xxxxxxxxxxxxxx> wrote: > On 9/19/17 3:15 AM, Linus Walleij wrote: >> >> Oh we already have that I think, Mika Westerberg and Andy Shevcheno >> implemented that for anyone using CONFIG_GPIOLIB_IRQCHIP, and >> this driver does. Timur please check: irq_need_valid_mask, irq_valid_mask >> usage. > > These patches already use irq_valid_mask! But that doesn't block complete > access to the GPIO. Aha sorry for my ignorance :( Doesn't that mean we need something like irq_valid_mask but rather gpio_valid_mask that just block all usage of certain GPIOs? Yours, Linus Walleij -- To unsubscribe from this list: send the line "unsubscribe linux-arm-msm" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html