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

2021-01-24 Thread mtk15103
On Mon, 2021-01-25 at 11:24 +0800, Nicolas Boichat wrote: > On Mon, Jan 25, 2021 at 11:15 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 set

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

2021-01-24 Thread Nicolas Boichat
On Mon, Jan 25, 2021 at 11:15 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 settin

[PATCH] 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. Signed-off-by: Hailong Fan --- [V2] --- drivers

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

2021-01-20 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. Signed-off-by: Hailong Fan Version: 5.11-rc1 -