ARM: at91: pm: avoid push and pop on stack while memory is in self-refersh
authorClaudiu Beznea <claudiu.beznea@microchip.com>
Thu, 15 Apr 2021 10:49:53 +0000 (13:49 +0300)
committerNicolas Ferre <nicolas.ferre@microchip.com>
Mon, 19 Jul 2021 12:32:12 +0000 (14:32 +0200)
commit87e1b30c29b9ae41cfbf6cda42f970b529bfcfb9
tree02058bd4d7fcc4beb6afc6f0353cc397b759f472
parent29cdf077a9ef238e608eb1243cdcc9e47592ad02
ARM: at91: pm: avoid push and pop on stack while memory is in self-refersh

For the previous AT91 RAM controller and self-refresh procedure this
had no side effects. However, for SAMA7G5 the self-refresh procedure
doesn't allow this anymore as the RAM controller ports are closed
before switching it to self-refresh. This commits prepares the code
for the following ones adding self-refresh and PM support for SAMA7G5.

Signed-off-by: Claudiu Beznea <claudiu.beznea@microchip.com>
Signed-off-by: Nicolas Ferre <nicolas.ferre@microchip.com>
Link: https://lore.kernel.org/r/20210415105010.569620-8-claudiu.beznea@microchip.com
arch/arm/mach-at91/pm_suspend.S