summaryrefslogtreecommitdiff
path: root/drivers/pinctrl/pinctrl-ingenic.c
diff options
context:
space:
mode:
authorHailong Fan <hailong.fan@mediatek.com>2021-01-25 12:17:53 +0800
committerLinus Walleij <linus.walleij@linaro.org>2021-02-15 05:52:01 +0100
commitb40b760aa2a9587cdcde62759642b4e99c40dedc (patch)
tree834c9bf2dbfc93ab103fc378f6cc56a28c43771e /drivers/pinctrl/pinctrl-ingenic.c
parent74f2dd447900256e8aa986be868bcd835d3c60d1 (diff)
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: Hailong Fan <hailong.fan@mediatek.com> Reviewed-by: Nicolas Boichat <drinkcat@chromium.org> Link: https://lore.kernel.org/r/20210125041753.2214-1-hailong.fan@mediatek.com Signed-off-by: Linus Walleij <linus.walleij@linaro.org>
Diffstat (limited to 'drivers/pinctrl/pinctrl-ingenic.c')
0 files changed, 0 insertions, 0 deletions