diff options
author | James Wylder <james.wylder@motorola.com> | 2010-10-20 15:05:09 -0500 |
---|---|---|
committer | Todd Poynor <toddpoynor@google.com> | 2010-10-25 17:05:35 -0700 |
commit | 86db6643b3d4dc50bd707ba6bc5793a548d15e56 (patch) | |
tree | ebc25a859c7b941b0de41461972ef5a362e712b3 /arch | |
parent | f729366c1750362c015649f90dbde555a4cdda03 (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')
-rw-r--r-- | arch/arm/mach-tegra/cpuidle.c | 1 |
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++; |