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

Linus Walleij linus.walleij at linaro.org
Mon Jan 25 08:11:23 EST 2021


On Mon, Jan 25, 2021 at 5:18 AM Hailong Fan <hailong.fan at mediatek.com> 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 at mediatek.com>
> Reviewed-by: Nicolas Boichat <drinkcat at chromium.org>

Took out v2 and applied this v3 instead.
(No idea what the difference is, you don't say.)

Yours,
Linus Walleij



More information about the linux-arm-kernel mailing list