aboutsummaryrefslogtreecommitdiffstats
path: root/arch/arm/mach-pxa/pxa27x.c
diff options
context:
space:
mode:
authorEric Miao <eric.y.miao@gmail.com>2010-11-23 04:00:03 -0500
committerEric Miao <eric.y.miao@gmail.com>2010-12-16 01:31:20 -0500
commitf113fe4e844be15394edcbc32b0ec196cdd0a0ff (patch)
treedceebef68696118b028354e1b6ec94f45bc8ed94 /arch/arm/mach-pxa/pxa27x.c
parent2a125dd56b3a853701063fe8a678ad7603e385fd (diff)
ARM: pxa: introduce pxa2xx_clock_sysclass for clock suspend/resume
Signed-off-by: Eric Miao <eric.y.miao@gmail.com>
Diffstat (limited to 'arch/arm/mach-pxa/pxa27x.c')
-rw-r--r--arch/arm/mach-pxa/pxa27x.c7
1 files changed, 3 insertions, 4 deletions
diff --git a/arch/arm/mach-pxa/pxa27x.c b/arch/arm/mach-pxa/pxa27x.c
index 6d2254b92adc..b2130b7a7b52 100644
--- a/arch/arm/mach-pxa/pxa27x.c
+++ b/arch/arm/mach-pxa/pxa27x.c
@@ -258,7 +258,6 @@ int __init pxa27x_set_pwrmode(unsigned int mode)
258 */ 258 */
259enum { 259enum {
260 SLEEP_SAVE_PSTR, 260 SLEEP_SAVE_PSTR,
261 SLEEP_SAVE_CKEN,
262 SLEEP_SAVE_MDREFR, 261 SLEEP_SAVE_MDREFR,
263 SLEEP_SAVE_PCFR, 262 SLEEP_SAVE_PCFR,
264 SLEEP_SAVE_COUNT 263 SLEEP_SAVE_COUNT
@@ -269,7 +268,6 @@ void pxa27x_cpu_pm_save(unsigned long *sleep_save)
269 sleep_save[SLEEP_SAVE_MDREFR] = __raw_readl(MDREFR); 268 sleep_save[SLEEP_SAVE_MDREFR] = __raw_readl(MDREFR);
270 SAVE(PCFR); 269 SAVE(PCFR);
271 270
272 SAVE(CKEN);
273 SAVE(PSTR); 271 SAVE(PSTR);
274} 272}
275 273
@@ -280,7 +278,6 @@ void pxa27x_cpu_pm_restore(unsigned long *sleep_save)
280 278
281 PSSR = PSSR_RDH | PSSR_PH; 279 PSSR = PSSR_RDH | PSSR_PH;
282 280
283 RESTORE(CKEN);
284 RESTORE(PSTR); 281 RESTORE(PSTR);
285} 282}
286 283
@@ -438,7 +435,9 @@ static struct sys_device pxa27x_sysdev[] = {
438 .cls = &pxa2xx_mfp_sysclass, 435 .cls = &pxa2xx_mfp_sysclass,
439 }, { 436 }, {
440 .cls = &pxa_gpio_sysclass, 437 .cls = &pxa_gpio_sysclass,
441 }, 438 }, {
439 .cls = &pxa2xx_clock_sysclass,
440 }
442}; 441};
443 442
444static int __init pxa27x_init(void) 443static int __init pxa27x_init(void)