]> git.baikalelectronics.ru Git - kernel.git/commit
ARM: OMAP: fix fault in enter_full_retention()
authorKevin Hilman <khilman@deeprootsystems.com>
Thu, 29 Jan 2009 16:57:18 +0000 (08:57 -0800)
committerTony Lindgren <tony@atomide.com>
Thu, 29 Jan 2009 17:27:00 +0000 (09:27 -0800)
commit6127d79af9434b88570ab9c4ce6a8f8ee64ffb3b
treed60ee6b4945ea88296ce8813dfc6a9127961a164
parent7b3ee752ea62190e0b3f99a2b617bf1c7798547b
ARM: OMAP: 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