Skip to contentSkip to conversation

ARM: cpuidle: davinci: Fix target residency

PATCH Superseded Daniel Lezcano 2 participants 2 messages Jun 27, 2013

Subsystems (3)

v1 of 2 Superseded Latest is v2 →

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 ARM: cpuidle: davinci: 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.

---
 arch/arm/mach-davinci/cpuidle.c |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
arch/arm/mach-davinci/cpuidle.c +1 -1
index 36aef3a..f1ac1c9 100644
@@ -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",
Signature · 1 line
1.7.9.5
#1 lore raw

PATCH 1/1 ARM: cpuidle: davinci: Fix target residency

Hello.

Quoted 1 line · Daniel Lezcano

The commit 19976c2a88d125aec16b9255c7197c297bbdd637 changed the target

Please also specify the summary line of that commit in parens.

Quoted 7 lines

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.

WBR, Sergei