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)
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>

No differences found