ARM: davinci: Fix for cpuidle consolidation changes
authorRobert Lee <rob.lee@linaro.org>
Wed, 21 Mar 2012 16:48:25 +0000 (11:48 -0500)
committerLen Brown <len.brown@intel.com>
Thu, 22 Mar 2012 05:19:44 +0000 (01:19 -0400)
The recent cpuidle consolidation changes erroneously omitted one
critical line of code.

Signed-off-by: Robert Lee <rob.lee@linaro.org>
Tested-by: Sekhar Nori <nsekhar@ti.com>
Acked-by: Sekhar Nori <nsekhar@ti.com>
Signed-off-by: Len Brown <len.brown@intel.com>
arch/arm/mach-davinci/cpuidle.c

index 93ae096..9107691 100644 (file)
@@ -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,