This fixes 2 issues when resuming from a wake source, especially if these wake sources are level-sensitive. Tested on mt8183 with the series in https://patchwork.kernel.org/cover/10921121/, but this should affect all mediatek platforms. Nicolas Boichat (2): pinctrl: mediatek: Ignore interrupts that are wake only during resume pinctrl: mediatek: Update cur_mask in mask/mask ops drivers/pinctrl/mediatek/mtk-eint.c | 34 ++++++++++++++++------------- 1 file changed, 19 insertions(+), 15 deletions(-) -- 2.21.0.593.g511ec345e18-goog