On 9 February 2018 at 14:39, Dmitry Torokhov <dmitry.torokhov@xxxxxxxxx> wrote: > On Thu, Feb 8, 2018 at 10:08 PM, Baolin Wang <baolin.wang@xxxxxxxxxx> wrote: >> On some platforms (such as Spreadtrum platform), the GPIO keys can only >> be triggered by level type. > > How do you stop the interrupt from re-triggering as long as the key > stays pressed? We will set the level type irq handler as handle_level_irq(), in this function, it will mask and ack the irq firstly. -- Baolin.wang Best Regards -- To unsubscribe from this list: send the line "unsubscribe devicetree" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html