]> git.baikalelectronics.ru Git - kernel.git/commit
ARM: at91: pm: introduce macros for pm mode replacement
authorClaudiu Beznea <claudiu.beznea@microchip.com>
Fri, 6 May 2022 08:23:33 +0000 (11:23 +0300)
committerClaudiu Beznea <claudiu.beznea@microchip.com>
Thu, 12 May 2022 08:06:19 +0000 (11:06 +0300)
commitb4007f0ac9facdb4f3f9245a28a3b50a9a475f14
tree3229103f0e958a2eb20da59c5ab9341db127503e
parent0055fe36571c15e8c383bf523080ed4ab0679569
ARM: at91: pm: introduce macros for pm mode replacement

Introduce macros to replace standby/suspend mode if they depends on
controllers that failed to map (or other errors). Macros keep track
of the complementary mode to avoid having set the same AT91 PM mode
for both suspend and standby.

Signed-off-by: Claudiu Beznea <claudiu.beznea@microchip.com>
Signed-off-by: Nicolas Ferre <nicolas.ferre@microchip.com>
arch/arm/mach-at91/pm.c