]> www.pilppa.org Git - linux-2.6-omap-h63xx.git/commit
OMAP2: PM: fix fault in enter_full_retention()
authorKevin Hilman <khilman@deeprootsystems.com>
Sat, 6 Dec 2008 07:55:10 +0000 (23:55 -0800)
committerTony Lindgren <tony@atomide.com>
Tue, 16 Dec 2008 00:23:03 +0000 (16:23 -0800)
commitc4adf767e0569c712f7c44ba37c4df9b47ea4121
treeda007bc9c405826ebd9617f19c66116854409bc4
parente6def3875b9fa40a170511ec0d22165ce391c265
OMAP2: PM: fix fault in enter_full_retention()

In omap24xx_cpu_suspend assembly routine, the r2 register which holds
the address of the SDRC_POWER reg is set to zero before the value is
written back triggering a fault due to writing to address zero.

It's hard to tell where this change was introduced since this file
has been moved and merged.

While this fix prevents a crash, suspend on my n810 is broken with
current kernels.  I never come out of suspend.

Signed-off-by: Kevin Hilman <khilman@deeprootsystems.com>
Signed-off-by: Tony Lindgren <tony@atomide.com>
arch/arm/mach-omap2/sleep24xx.S