summaryrefslogtreecommitdiff
path: root/arch
diff options
context:
space:
mode:
authorKrishna Reddy <vdumpa@nvidia.com>2011-09-21 19:27:30 -0700
committerVarun Colbert <vcolbert@nvidia.com>2011-09-26 16:28:25 -0700
commitce1e3b72a12f5623a99eee3674da8d5a1575f387 (patch)
treeb3ac9d2790bef037d0be16d982bc9e6efcb746ab /arch
parent041df6fbf7c5792e0938bc60fc9b747705fd8df8 (diff)
arm: tegra: Disable LP2 mode by default.
LP2 should be enabled through board specific init rc file. Change-Id: I2772ad0ccd04fd3933a2286c6335304d2bef60cd Reviewed-on: http://git-master/r/53920 Reviewed-by: Aleksandr Frid <afrid@nvidia.com> Reviewed-by: Krishna Reddy <vdumpa@nvidia.com> Tested-by: Krishna Reddy <vdumpa@nvidia.com> Reviewed-by: Scott Williams <scwilliams@nvidia.com>
Diffstat (limited to 'arch')
-rw-r--r--arch/arm/mach-tegra/cpuidle.c8
1 files changed, 1 insertions, 7 deletions
diff --git a/arch/arm/mach-tegra/cpuidle.c b/arch/arm/mach-tegra/cpuidle.c
index 3a2452104f46..541b50213e34 100644
--- a/arch/arm/mach-tegra/cpuidle.c
+++ b/arch/arm/mach-tegra/cpuidle.c
@@ -79,13 +79,7 @@ static int tegra_idle_enter_lp3(struct cpuidle_device *dev,
return (int)us;
}
-#ifdef CONFIG_PM_SLEEP
-#define LP2_IN_IDLE_INIT true
-#else
-#define LP2_IN_IDLE_INIT false
-#endif
-
-static bool lp2_in_idle __read_mostly = LP2_IN_IDLE_INIT;
+static bool lp2_in_idle __read_mostly = false;
#ifdef CONFIG_PM_SLEEP
static bool lp2_in_idle_modifiable __read_mostly = true;