Hi Davide, On Fri, Nov 24, 2017 at 10:03 PM, Davide Hug <d@xxxxxxxxxx> wrote: > So the GPIOLIB_IRQCHIP code in gpiolib.c is enabled. But the driver > gpio-mxc doesn't use it. In particular it doesn't call gpiochip_add_irqchip > which assigns the .irq_request_resources/.irq_release_resources callbacks that > toggle the FLAG_USED_AS_IRQ. > So in the gpio-mxc driver the guard against setting a GPIO with active IRQ as > output is not in place. And it is this guard that makes the sht15 driver fail > to load when in place. What is the gpio driver you are using that shows the error? -- To unsubscribe from this list: send the line "unsubscribe linux-hwmon" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html