From 86db6643b3d4dc50bd707ba6bc5793a548d15e56 Mon Sep 17 00:00:00 2001 From: James Wylder Date: Wed, 20 Oct 2010 15:05:09 -0500 Subject: [PATCH] [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 Change-Id: Ibca20a937bf4079f61e4b3ae64394d797b4eb287 Signed-off-by: Todd Poynor --- arch/arm/mach-tegra/cpuidle.c | 1 + 1 file changed, 1 insertion(+) 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++; -- 2.34.1