Skip to content
Commit 1a5287a3 authored by Anson Huang's avatar Anson Huang Committed by Linus Walleij
Browse files

gpio: mxc: move gpio noirq suspend/resume to syscore phase



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: default avatarAnson Huang <Anson.Huang@nxp.com>
Signed-off-by: default avatarLinus Walleij <linus.walleij@linaro.org>
parent eee3919c
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment