[PATCH 19/25] ARM: pm: sa1100: no need to re-enable clock switching

Russell King - ARM Linux
2011-06-22T15:29:16Z

This is now taken care of by calling cpu_proc_init() in the resume
path, so eliminate this unnecessary call.

Signed-off-by: Russell King <rmk+kernel@arm.linux.org.uk>
---
arch/arm/mach-sa1100/pm.c | 3 ---
1 files changed, 0 insertions(+), 3 deletions(-)

diff --git a/arch/arm/mach-sa1100/pm.c b/arch/arm/mach-sa1100/pm.c
index d49eaf2..259ed3b 100644
--- a/arch/arm/mach-sa1100/pm.c
+++ b/arch/arm/mach-sa1100/pm.c
@@ -77,9 +77,6 @@ static int sa11x0_pm_enter(suspend_state_t state)
/* go zzz */
cpu_suspend(0, PHYS_OFFSET - PAGE_OFFSET, 0, sa1100_finish_suspend);

- /* Re-enable clock switching */
- asm volatile("mcr p15, 0, %0, c15, c1, 2" : : "r" (0));
-
/*
* Ensure not to come back here if it wasn't intended
*/
--
1.7.4.4