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

2018-11-16 Thread Linus Walleij
On Fri, Nov 9, 2018 at 5:56 AM Anson Huang 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 >

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

2018-11-16 Thread Linus Walleij
On Fri, Nov 9, 2018 at 5:56 AM Anson Huang 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 >

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

2018-11-08 Thread Anson Huang
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

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

2018-11-08 Thread Anson Huang
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