diff options
author | Krishna Reddy <vdumpa@nvidia.com> | 2011-09-21 19:27:30 -0700 |
---|---|---|
committer | Dan Willemsen <dwillemsen@nvidia.com> | 2011-11-30 21:48:58 -0800 |
commit | cef2e8c56fe4575bf23b1c8047342759a3f905b4 (patch) | |
tree | c1631f1641f1f3291ed86a7700747a0c5e5478a7 /arch/arm/mach-tegra/cpuidle.c | |
parent | 7ff1bf0db911b72e2bf6270d9457d8ddf3291653 (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>
Rebase-Id: Ra46b97752305db9e3ac2400162872c5e5863034e
Diffstat (limited to 'arch/arm/mach-tegra/cpuidle.c')
-rw-r--r-- | arch/arm/mach-tegra/cpuidle.c | 8 |
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; |