On Mon, Nov 16, 2015 at 7:15 AM, Denis Ciocca <denis.ciocca@xxxxxx> wrote: > I'm not convinced about this one. If we declare sensors output as open drain, > interrupt can be shared (as you also say). > > So, the irq management function should first check source registers if > interrupt is really generated by sensor or not. Yeah I was not testing actually using two sensors at the time so far, only setting this property in the device tree for two sensors so that it was possible to share a line between two sensors, but I only use one at a time, I didn't try to start generic_buffer on both similtaneously... OK I'll see if we can get the trigger to return IRQ_HANDLED or IRQ_NO_IRQ. Yours, Linus Walleij -- To unsubscribe from this list: send the line "unsubscribe linux-iio" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html