OMAP3: PM: Removing redundant and potentially dangerous PRCM configration
authorSripathy, Vishwanath <vishwanath.bs@ti.com>
Mon, 16 Nov 2009 11:11:40 +0000 (16:41 +0530)
committerKevin Hilman <khilman@deeprootsystems.com>
Thu, 21 Jan 2010 02:16:04 +0000 (18:16 -0800)
commit8640425b265752a1b7bae041815872cda5b72a2f
treeaa6af91b64e06ec460857267a4ae77da1f7c2d4e
parenta087cad92c0d83f096024d6ec8c8a8f6b6286811
OMAP3: PM: Removing redundant and potentially dangerous PRCM configration

As part of Core domain context restoration while coming out of off mode
there are some registers being restored which are not required to be restored.
ROM code will have restored them already. Overwriting some of them can have
potential side effect. Eg: CM_CLKEN_PLL register should not be written while dpll is locked.
Tested on OMAP 3430 SDP for suspend/resume and off mode with sleep_while_idle enabled.

Signed-off-by: Vishwanath BS <vishwanath.bs@ti.com>
Signed-off-by: Kevin Hilman <khilman@deeprootsystems.com>
arch/arm/mach-omap2/prcm.c