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

Linus Walleij linus.walleij at linaro.org
Mon Jan 25 08:09:37 EST 2021


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

Patch applied for fixes.

Yours,
Linus Walleij



More information about the linux-arm-kernel mailing list