summaryrefslogtreecommitdiff
path: root/arch/arm/mach-tegra/cpuidle.c
diff options
context:
space:
mode:
authorJames Wylder <james.wylder@motorola.com>2010-10-20 15:05:09 -0500
committerTodd Poynor <toddpoynor@google.com>2010-10-25 17:05:35 -0700
commit86db6643b3d4dc50bd707ba6bc5793a548d15e56 (patch)
treeebc25a859c7b941b0de41461972ef5a362e712b3 /arch/arm/mach-tegra/cpuidle.c
parentf729366c1750362c015649f90dbde555a4cdda03 (diff)
[ARM] tegra: cpuidle define power_specified
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>
Diffstat (limited to 'arch/arm/mach-tegra/cpuidle.c')
-rw-r--r--arch/arm/mach-tegra/cpuidle.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/arch/arm/mach-tegra/cpuidle.c b/arch/arm/mach-tegra/cpuidle.c
index d128ecea6ca4..e8b9dcb5649e 100644
--- 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++;