]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commitf30d58ea9a902be796d5aa780256e89aafcf6034
tree68d98fa179f3d28fa50406f9aa163e7ff048ee0a
parent3a75a16af7e3dcc6bb0e91f254db11d4ed05a0f1
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