OSDN Git Service

OMAP2+: PM: Fix the saving of CM_AUTOIDLE_PLL register on scratchpad area
authorEduardo Valentin <eduardo.valentin@ti.com>
Wed, 13 Apr 2011 15:21:06 +0000 (18:21 +0300)
committerPaul Walmsley <paul@pwsan.com>
Wed, 20 Apr 2011 18:43:56 +0000 (12:43 -0600)
commit8bc2e98bcb280009cb0f85ce64e5f79b1669f9ff
tree1be744f64a2d6679bd89666e8c0f4cb003bbff9c
parent2df122f52fd31c327e0aa05caf6017ecd7867d5f
OMAP2+: PM: Fix the saving of CM_AUTOIDLE_PLL register on scratchpad area

The saving of CCR.CM_AUTOIDLE_PLL is done in scratchpad area.

However, in current code, the saving is done for CM_AUTOIDLE2_PLL
(offset 0x34) instead of CM_AUTOIDLE_PLL (offset 0x30).

This patch changes the code to save the correct register.

Signed-off-by: Eduardo Valentin <eduardo.valentin@ti.com>
Signed-off-by: Paul Walmsley <paul@pwsan.com>
arch/arm/mach-omap2/control.c