Re: [PATCH v2] pinctrl: mediatek: Update cur_mask in mask/mask ops

2019-06-27 Thread Linus Walleij
On Wed, Jun 26, 2019 at 4:54 AM Nicolas Boichat wrote: > During suspend/resume, mtk_eint_mask may be called while > wake_mask is active. For example, this happens if a wake-source > with an active interrupt handler wakes the system: > irq/pm.c:irq_pm_check_wakeup would disable the interrupt, so >

[PATCH v2] pinctrl: mediatek: Update cur_mask in mask/mask ops

2019-06-25 Thread Nicolas Boichat
During suspend/resume, mtk_eint_mask may be called while wake_mask is active. For example, this happens if a wake-source with an active interrupt handler wakes the system: irq/pm.c:irq_pm_check_wakeup would disable the interrupt, so that it can be handled later on in the resume flow. However, this