pinctrl: at91-pio4: handle suspend to ram
authorAlexandre Belloni <alexandre.belloni@free-electrons.com>
Thu, 6 Apr 2017 13:36:23 +0000 (15:36 +0200)
committerLinus Walleij <linus.walleij@linaro.org>
Fri, 7 Apr 2017 12:32:51 +0000 (14:32 +0200)
commitba9e7f2794d8158c93aacd279830a6f1f98b19b0
tree68d98fa179f3d28fa50406f9aa163e7ff048ee0a
parent8d5e7c5df0a6c442373628be5221321172b1badf
pinctrl: at91-pio4: handle suspend to ram

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 <alexandre.belloni@free-electrons.com>
Signed-off-by: Linus Walleij <linus.walleij@linaro.org>
drivers/pinctrl/pinctrl-at91-pio4.c