Re: [PATCH V3] pinctrl: mediatek: Fix trigger type setting follow for unexpected interrupt
From: Linus Walleij <hidden>
Date: 2021-01-25 13:19:28
Also in:
linux-arm-kernel, linux-mediatek, lkml
From: Linus Walleij <hidden>
Date: 2021-01-25 13:19:28
Also in:
linux-arm-kernel, linux-mediatek, lkml
On Mon, Jan 25, 2021 at 5:18 AM Hailong Fan [off-list ref] wrote:
When flipping the polarity will be generated interrupt under certain circumstances, but GPIO external signal has not changed. Then, mask the interrupt before polarity setting, and clear the unexpected interrupt after trigger type setting completed. Remove mtk_eint_flip_edge: because mtk_eint_unmask already calls it. Signed-off-by: Hailong Fan <redacted> Reviewed-by: Nicolas Boichat <redacted>
Took out v2 and applied this v3 instead. (No idea what the difference is, you don't say.) Yours, Linus Walleij