power: reset: at91-reset: fix power down register
authorAlexandre Belloni <alexandre.belloni@free-electrons.com>
Mon, 20 Oct 2014 18:27:09 +0000 (20:27 +0200)
committerNicolas Ferre <nicolas.ferre@atmel.com>
Wed, 22 Oct 2014 08:08:22 +0000 (10:08 +0200)
commit7cb4e717d474b118930c3b5fa3a2581eb1fdee72
tree28b635e24ddce1ed921535b5c14565ae6129f91c
parent0ef090151345e693bd9b50c9b7aaf34ae5e9cac3
power: reset: at91-reset: fix power down register

In the case of at91sam9g45_restart(), the driver is writing
AT91_DDRSDRC_LPCB_POWER_DOWN to AT91_DDRSDRC_RTR, this should actually be
AT91_DDRSDRC_LPR.

Signed-off-by: Alexandre Belloni <alexandre.belloni@free-electrons.com>
Acked-by: Sebastian Reichel <sre@kernel.org>
Signed-off-by: Nicolas Ferre <nicolas.ferre@atmel.com>
drivers/power/reset/at91-reset.c