Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 0d975589 authored by Daniel Lezcano's avatar Daniel Lezcano Committed by Kevin Hilman
Browse files

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: default avatarDaniel Lezcano <daniel.lezcano@linaro.org>
Acked-by: default avatarSantosh Shilimkar <santosh.shilimkar@ti.com>
Signed-off-by: default avatarKevin Hilman <khilman@linaro.org>
parent f69e44b2
Loading
Loading
Loading
Loading
+3 −2
Original line number Diff line number Diff line
@@ -276,6 +276,7 @@ static DEFINE_PER_CPU(struct cpuidle_device, omap3_idle_dev);
static struct cpuidle_driver omap3_idle_driver = {
	.name             = "omap3_idle",
	.owner            = THIS_MODULE,
	.en_core_tk_irqen = 1,
	.states = {
		{
			.enter		  = omap3_enter_idle_bm,