ARM: davinci: cpuidle: Fix target residency
authorDaniel Lezcano <daniel.lezcano@linaro.org>
Fri, 28 Jun 2013 10:09:09 +0000 (12:09 +0200)
committerDaniel Lezcano <daniel.lezcano@linaro.org>
Sat, 27 Jul 2013 05:56:37 +0000 (07:56 +0200)
The commit 19976c2a88d125aec16b9255c7197c297bbdd637 changed the target
residency to 100000, assuming this is a careless mistake.

The same happened to the at91's cpuidle driver.

Fix it by putting the initial value to 10000.

Signed-off-by: Daniel Lezcano <daniel.lezcano@linaro.org>
Acked-by: Sekhar Nori <nsekhar@ti.com>
arch/arm/mach-davinci/cpuidle.c

index 36aef3a7dedb074c5e036ee5f7af8ccec5053bcf..f1ac1c94ac0f363123842f4e9077c2bd58e645df 100644 (file)
@@ -65,7 +65,7 @@ static struct cpuidle_driver davinci_idle_driver = {
        .states[1]              = {
                .enter                  = davinci_enter_idle,
                .exit_latency           = 10,
-               .target_residency       = 100000,
+               .target_residency       = 10000,
                .flags                  = CPUIDLE_FLAG_TIME_VALID,
                .name                   = "DDR SR",
                .desc                   = "WFI and DDR Self Refresh",