Commit 7006b8a1 authored by Daniel Lezcano's avatar Daniel Lezcano

ARM: davinci: cpuidle: Fix target residency

The commit 19976c2a 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: default avatarDaniel Lezcano <daniel.lezcano@linaro.org>
Acked-by: default avatarSekhar Nori <nsekhar@ti.com>
parent b98e01ad
...@@ -65,7 +65,7 @@ static struct cpuidle_driver davinci_idle_driver = { ...@@ -65,7 +65,7 @@ static struct cpuidle_driver davinci_idle_driver = {
.states[1] = { .states[1] = {
.enter = davinci_enter_idle, .enter = davinci_enter_idle,
.exit_latency = 10, .exit_latency = 10,
.target_residency = 100000, .target_residency = 10000,
.flags = CPUIDLE_FLAG_TIME_VALID, .flags = CPUIDLE_FLAG_TIME_VALID,
.name = "DDR SR", .name = "DDR SR",
.desc = "WFI and DDR Self Refresh", .desc = "WFI and DDR Self Refresh",
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment