diff options
author | Anson Huang <anson.huang@nxp.com> | 2018-11-09 04:56:56 +0000 |
---|---|---|
committer | Linus Walleij <linus.walleij@linaro.org> | 2018-11-16 22:56:54 +0100 |
commit | 1a5287a3dbc34cd0c02c8f64c9131bd23cdfe2bb (patch) | |
tree | de32fb12a8df29640b866f2b0971d9fa7d8f7c61 /drivers/i2c | |
parent | eee3919c5f2949a8b7b1e9fa239d153be1538656 (diff) |
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: Anson Huang <Anson.Huang@nxp.com>
Signed-off-by: Linus Walleij <linus.walleij@linaro.org>
Diffstat (limited to 'drivers/i2c')
0 files changed, 0 insertions, 0 deletions