Re: [PATCH V3] pinctrl: mediatek: Fix trigger type setting follow for unexpected interrupt

From: mtk15103
Date: Tue Jan 26 2021 - 05:23:54 EST


On Mon, 2021-01-25 at 14:11 +0100, Linus Walleij wrote:
> On Mon, Jan 25, 2021 at 5:18 AM Hailong Fan <hailong.fan@xxxxxxxxxxxx> 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 <hailong.fan@xxxxxxxxxxxx>
> > Reviewed-by: Nicolas Boichat <drinkcat@xxxxxxxxxxxx>
>
> Took out v2 and applied this v3 instead.
> (No idea what the difference is, you don't say.)
V3 only add commit message "Remove mtk_eint_flip_edge: because mtk_eint_unmask already calls it."
Compared to V2, the patch has not changed.
Thanks.

> Yours,
> Linus Walleij