Skip to content
Commit b40b760a authored by Hailong Fan's avatar Hailong Fan Committed by Linus Walleij
Browse files

pinctrl: mediatek: Fix trigger type setting follow for unexpected interrupt



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: default avatarHailong Fan <hailong.fan@mediatek.com>
Reviewed-by: default avatarNicolas Boichat <drinkcat@chromium.org>
Link: https://lore.kernel.org/r/20210125041753.2214-1-hailong.fan@mediatek.com


Signed-off-by: default avatarLinus Walleij <linus.walleij@linaro.org>
parent 74f2dd44
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment