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

2021-01-26 Thread mtk15103
On Mon, 2021-01-25 at 14:11 +0100, Linus Walleij wrote: > On Mon, Jan 25, 2021 at 5:18 AM Hailong Fan 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

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

2021-01-25 Thread Linus Walleij
On Mon, Jan 25, 2021 at 5:18 AM Hailong Fan 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

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

2021-01-24 Thread Hailong Fan
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_unmas