diff mbox

ARM: davinci: Fix for cpuidle consolidation changes

Message ID 1332348505-28780-1-git-send-email-rob.lee@linaro.org
State Accepted
Commit 6a6ea0acc9375571a13aa8c4e105a0807e1c16a4
Headers show

Commit Message

Rob March 21, 2012, 4:48 p.m. UTC
The recent cpuidle consolidation changes erroneously omitted one
critical line of code.

Signed-off-by: Robert Lee <rob.lee@linaro.org>
---
 arch/arm/mach-davinci/cpuidle.c |    9 +++++----
 1 files changed, 5 insertions(+), 4 deletions(-)

Comments

Sekhar Nori March 21, 2012, 6:05 p.m. UTC | #1
On Wed, Mar 21, 2012 at 22:18:25, Robert Lee wrote:
> The recent cpuidle consolidation changes erroneously omitted one
> critical line of code.
> 
> Signed-off-by: Robert Lee <rob.lee@linaro.org>

Tested this on a DA850 EVM.

Acked-by: Sekhar Nori <nsekhar@ti.com>

Thanks,
Sekhar
Len Brown March 22, 2012, 5:20 a.m. UTC | #2
applied.

thanks,
Len Brown, Intel Open Source Technology Center
diff mbox

Patch

diff --git a/arch/arm/mach-davinci/cpuidle.c b/arch/arm/mach-davinci/cpuidle.c
index 93ae096..9107691 100644
--- a/arch/arm/mach-davinci/cpuidle.c
+++ b/arch/arm/mach-davinci/cpuidle.c
@@ -55,10 +55,11 @@  static int davinci_enter_idle(struct cpuidle_device *dev,
 #define DAVINCI_CPUIDLE_FLAGS_DDR2_PWDN	BIT(0)
 
 static struct cpuidle_driver davinci_idle_driver = {
-	.name		= "cpuidle-davinci",
-	.owner		= THIS_MODULE,
-	.states[0]	= ARM_CPUIDLE_WFI_STATE,
-	.states[1]	= {
+	.name			= "cpuidle-davinci",
+	.owner			= THIS_MODULE,
+	.en_core_tk_irqen	= 1,
+	.states[0]		= ARM_CPUIDLE_WFI_STATE,
+	.states[1]		= {
 		.enter			= davinci_enter_idle,
 		.exit_latency		= 10,
 		.target_residency	= 100000,