OMAP3: PM: Fix PLL_MOD CLKEN offset in scratchpad
authorKalle Jokiniemi <kalle.jokiniemi@digia.com>
Tue, 12 May 2009 11:02:16 +0000 (14:02 +0300)
committerKevin Hilman <khilman@deeprootsystems.com>
Wed, 11 Nov 2009 22:42:26 +0000 (14:42 -0800)
commitcb0cb2b815bf073dc0211ab224682a6caf6c89ce
treee83fdc8981e8cf3b2334f637162e1d5dcac23d44
parent8a917d2fc80b7c45ce0146ff134168646274a9bd
OMAP3: PM: Fix PLL_MOD CLKEN offset in scratchpad

The CM_CLKEN_PLL register saved in scratchpad memory
was wrongly using offset of 0x0004 instead of 0x0000.

The effect of this was that boot ROM code would
restore the wrong value when waking up from off mode.
This wrong value, however, will be overwritten by
prcm context restore. Still, a short period of wrong
clock settings in CM_CLKEN_PLL remained between ROM
code and prcm context restore. This is fixed by the
patch.

Problem reported by: Jouni Hogander <jouni.hogander@nokia.com>

Signed-off-by: Kalle Jokiniemi <kalle.jokiniemi@digia.com>
Signed-off-by: Kevin Hilman <khilman@deeprootsystems.com>
arch/arm/mach-omap2/control.c