projects
/
firefly-linux-kernel-4.4.55.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
f729366
)
[ARM] tegra: cpuidle define power_specified
author
James Wylder
<james.wylder@motorola.com>
Wed, 20 Oct 2010 20:05:09 +0000
(15:05 -0500)
committer
Todd Poynor
<toddpoynor@google.com>
Tue, 26 Oct 2010 00:05:35 +0000
(17:05 -0700)
Turn on the cpuidle_device power_specified field
to enable usage of the defined cpuidle_state.power_usage fields
for each state.
Signed-off-by: James Wylder <james.wylder@motorola.com>
Change-Id: Ibca20a937bf4079f61e4b3ae64394d797b4eb287
Signed-off-by: Todd Poynor <toddpoynor@google.com>
arch/arm/mach-tegra/cpuidle.c
patch
|
blob
|
history
diff --git
a/arch/arm/mach-tegra/cpuidle.c
b/arch/arm/mach-tegra/cpuidle.c
index d128ecea6ca4c69cbede9334bc0fcebdd981a4ee..e8b9dcb5649e8d980aec3703b791a038ea68036e 100644
(file)
--- a/
arch/arm/mach-tegra/cpuidle.c
+++ b/
arch/arm/mach-tegra/cpuidle.c
@@
-476,6
+476,7
@@
static int tegra_idle_enter(unsigned int cpu)
state->flags = CPUIDLE_FLAG_BALANCED | CPUIDLE_FLAG_TIME_VALID;
state->enter = tegra_idle_enter_lp2;
+ dev->power_specified = 1;
dev->safe_state = state;
dev->state_count++;