On Mon, Feb 23, 2015 at 1:53 PM, Mika Westerberg <mika.westerberg@xxxxxxxxxxxxxxx> wrote: > If the pin is already configured as GPIO and it has any of the triggering > flags set, we may get spurious interrupts depending on the state of the > pin. > > Prevent this by clearing the triggering flags on such pins. However, if the > pin is also configured as "direct IRQ" we leave the flags as is. Otherwise > it will prevent interrupts that are routed directly to IO-APIC. > > Signed-off-by: Mika Westerberg <mika.westerberg@xxxxxxxxxxxxxxx> Patch applied for fixes. Yours, Linus Walleij -- 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