diff options
author | Hailong Fan | 2021-01-25 12:17:53 +0800 |
---|---|---|
committer | Linus Walleij | 2021-02-15 05:52:01 +0100 |
commit | b40b760aa2a9587cdcde62759642b4e99c40dedc (patch) | |
tree | 834c9bf2dbfc93ab103fc378f6cc56a28c43771e /scripts | |
parent | 74f2dd447900256e8aa986be868bcd835d3c60d1 (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 'scripts')
0 files changed, 0 insertions, 0 deletions