]> git.baikalelectronics.ru Git - kernel.git/commit
ARM: at91: pm: fix at91rm9200 standby
authorAlexandre Belloni <alexandre.belloni@free-electrons.com>
Tue, 3 Mar 2015 18:58:22 +0000 (19:58 +0100)
committerNicolas Ferre <nicolas.ferre@atmel.com>
Tue, 3 Mar 2015 19:07:13 +0000 (20:07 +0100)
commitb75821a3b200916ca7c9c3e49fa652eba3eb035e
tree3f3a11180cb6ea4e5b64fb02fad9b8b6ebd039f8
parent1a44e6892c84246330af8689f7bfbf22f3a05bd7
ARM: at91: pm: fix at91rm9200 standby

at91rm9200 standby and suspend to ram has been broken since
24723125a548. It is wrongly using AT91_BASE_SYS which is a physical address
and actually doesn't correspond to any register on at91rm9200.

Use the correct at91_ramc_base[0] instead.

Fixes: 24723125a548 (ARM: at91: implement the standby function for pm/cpuidle)
Signed-off-by: Alexandre Belloni <alexandre.belloni@free-electrons.com>
Signed-off-by: Nicolas Ferre <nicolas.ferre@atmel.com>
arch/arm/mach-at91/pm.h