Re: [PATCH] pinctrl: at91-pio4: handle suspend to ram

2017-04-07 Thread Ludovic Desroches
On Thu, Apr 06, 2017 at 03:36:23PM +0200, Alexandre Belloni wrote: > When suspending to RAM, the power to the core is cut and the register > values are lost. Save and restore more registers than just IMR. > > Signed-off-by: Alexandre Belloni > --- > drivers/pinctrl/pinctrl-at91-pio4.c | 34 +

Re: [PATCH] pinctrl: at91-pio4: handle suspend to ram

2017-04-07 Thread Linus Walleij
On Fri, Apr 7, 2017 at 12:48 PM, Alexandre Belloni wrote: > On 07/04/2017 at 12:16:22 +0200, Linus Walleij wrote: >> On Thu, Apr 6, 2017 at 3:36 PM, Alexandre Belloni >> wrote: >> >> > When suspending to RAM, the power to the core is cut and the register >> > values are lost. Save and restore mor

Re: [PATCH] pinctrl: at91-pio4: handle suspend to ram

2017-04-07 Thread Alexandre Belloni
On 07/04/2017 at 12:16:22 +0200, Linus Walleij wrote: > On Thu, Apr 6, 2017 at 3:36 PM, Alexandre Belloni > wrote: > > > When suspending to RAM, the power to the core is cut and the register > > values are lost. Save and restore more registers than just IMR. > > > > Signed-off-by: Alexandre Bello

Re: [PATCH] pinctrl: at91-pio4: handle suspend to ram

2017-04-07 Thread Linus Walleij
On Thu, Apr 6, 2017 at 3:36 PM, Alexandre Belloni wrote: > When suspending to RAM, the power to the core is cut and the register > values are lost. Save and restore more registers than just IMR. > > Signed-off-by: Alexandre Belloni Should this be tagged for stable? Waiting for input from the A

[PATCH] pinctrl: at91-pio4: handle suspend to ram

2017-04-06 Thread Alexandre Belloni
When suspending to RAM, the power to the core is cut and the register values are lost. Save and restore more registers than just IMR. Signed-off-by: Alexandre Belloni --- drivers/pinctrl/pinctrl-at91-pio4.c | 34 -- 1 file changed, 28 insertions(+), 6 deletions(-)