From: linux@arm.linux.org.uk (Russell King - ARM Linux) Date: Wed, 22 Jun 2011 16:14:57 +0100 Subject: [PATCH 19/25] ARM: pm: sa1100: no need to re-enable clock switching In-Reply-To: <20110622150816.GT23234@n2100.arm.linux.org.uk> References: <20110622150816.GT23234@n2100.arm.linux.org.uk> Message-ID: To: linux-arm-kernel@lists.infradead.org List-Id: linux-arm-kernel.lists.infradead.org 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 --- 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