On Fri, Jul 06, 2018 at 11:32:29AM +0200, Hans de Goede wrote: > + > + /* > + * Make sure we trigger the initial state of the IRQ when > + * using RISING or FALLING. > + */ > + if (((irqflags & IRQF_TRIGGER_RISING) && value == 1) || > + ((irqflags & IRQF_TRIGGER_FALLING) && value == 0)) > + handler(-1, event); > + While I don't have anything against this it makes me wonder how it is handled in Windows side? Any idea? -- To unsubscribe from this list: send the line "unsubscribe linux-gpio" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html