aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorDaniel Lezcano <daniel.lezcano@linaro.org>2013-03-29 06:31:35 -0400
committerKevin Hilman <khilman@linaro.org>2013-04-09 12:43:01 -0400
commit0d97558901c446a989de202a5d9ae94ec53644e5 (patch)
tree77104cee0f1cfe3e35f695a2508de3d707cc7b75
parentf69e44b2059f2238ac558b4a115ebcdefe20b9be (diff)
ARM: omap3: cpuidle: enable time keeping
The TIME_VALID flag is specified for the different states but the time residency computation is not done, no tk flag, no time computation in the idle function. Set the en_core_tk_irqen flag to activate it. Cc: stable@vger.kernel.org Signed-off-by: Daniel Lezcano <daniel.lezcano@linaro.org> Acked-by: Santosh Shilimkar <santosh.shilimkar@ti.com> Signed-off-by: Kevin Hilman <khilman@linaro.org>
-rw-r--r--arch/arm/mach-omap2/cpuidle34xx.c5
1 files changed, 3 insertions, 2 deletions
diff --git a/arch/arm/mach-omap2/cpuidle34xx.c b/arch/arm/mach-omap2/cpuidle34xx.c
index 80392fca86c6..4f67a5b9bc52 100644
--- a/arch/arm/mach-omap2/cpuidle34xx.c
+++ b/arch/arm/mach-omap2/cpuidle34xx.c
@@ -274,8 +274,9 @@ static int omap3_enter_idle_bm(struct cpuidle_device *dev,
274static DEFINE_PER_CPU(struct cpuidle_device, omap3_idle_dev); 274static DEFINE_PER_CPU(struct cpuidle_device, omap3_idle_dev);
275 275
276static struct cpuidle_driver omap3_idle_driver = { 276static struct cpuidle_driver omap3_idle_driver = {
277 .name = "omap3_idle", 277 .name = "omap3_idle",
278 .owner = THIS_MODULE, 278 .owner = THIS_MODULE,
279 .en_core_tk_irqen = 1,
279 .states = { 280 .states = {
280 { 281 {
281 .enter = omap3_enter_idle_bm, 282 .enter = omap3_enter_idle_bm,