aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorDaniel Lezcano <daniel.lezcano@linaro.org>2013-06-28 12:09:09 +0200
committerDaniel Lezcano <daniel.lezcano@linaro.org>2013-07-27 07:56:37 +0200
commit7006b8a1facc5dcafb2afa27a1209d924f99a2eb (patch)
tree783111f5b0c4d12ca225144937fcd043286c712a
parentcpuidle: Add Kconfig.arm and move calxeda, kirkwood and zynq (diff)
downloadlinux-dev-7006b8a1facc5dcafb2afa27a1209d924f99a2eb.tar.xz
linux-dev-7006b8a1facc5dcafb2afa27a1209d924f99a2eb.zip
ARM: davinci: cpuidle: Fix target residency
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>
-rw-r--r--arch/arm/mach-davinci/cpuidle.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/arch/arm/mach-davinci/cpuidle.c b/arch/arm/mach-davinci/cpuidle.c
index 36aef3a7dedb..f1ac1c94ac0f 100644
--- a/arch/arm/mach-davinci/cpuidle.c
+++ b/arch/arm/mach-davinci/cpuidle.c
@@ -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",