Re: [PATCH] gpio: mxc: move gpio noirq suspend/resume to syscore phase

From: Linus Walleij
Date: Fri Nov 16 2018 - 16:56:38 EST


On Fri, Nov 9, 2018 at 5:56 AM Anson Huang <anson.huang@xxxxxxx> wrote:

> During noirq suspend/resume phase, GPIO irq could arrive
> and its registers like IMR will be changed by irq handle
> process, to make the GPIO registers exactly when it is
> powered ON after resume, move the GPIO noirq suspend/resume
> callback to syscore suspend/resume phase, local irq is
> disabled at this phase so GPIO registers are atomic.
>
> Signed-off-by: Anson Huang <Anson.Huang@xxxxxxx>

Patch applied. Cc Fabio so he knows it happens.

Yours,
Linus Walleij