ARM: at91: pm: fallback to slowclock when backup mode fails
authorAlexandre Belloni <alexandre.belloni@free-electrons.com>
Wed, 26 Apr 2017 14:34:24 +0000 (16:34 +0200)
committerAlexandre Belloni <alexandre.belloni@free-electrons.com>
Mon, 15 May 2017 09:55:33 +0000 (11:55 +0200)
commit287322386d303891e9cdc81313137054da9d5467
tree3d2420f417f5707c91b6fb3907fe04c1ea37bffa
parent7693e18e8c2e2f3188f69bd572ff77dac481da6e
ARM: at91: pm: fallback to slowclock when backup mode fails

If the backup sram allocation fails, ensure we can suspend by falling back
to the usual slow clock mode.

Signed-off-by: Alexandre Belloni <alexandre.belloni@free-electrons.com>
Acked-by: Wenyou Yang <wenyou.yang@atmel.com>
arch/arm/mach-at91/pm.c