summaryrefslogtreecommitdiff
path: root/arch/arm/mach-tegra/sleep.h
diff options
context:
space:
mode:
authorScott Williams <scwilliams@nvidia.com>2011-06-29 14:57:29 -0700
committerDan Willemsen <dwillemsen@nvidia.com>2011-11-30 21:42:50 -0800
commitde45645f64b8ab4d84e6cba7ad37514629baeb13 (patch)
treea71974bfecad899fa69c6e449d927511b450498a /arch/arm/mach-tegra/sleep.h
parent9d63ba29502b2fade968d9ae00e3d328d758eb41 (diff)
ARM: tegra: power: Restore LP2 in idle protections
Restore the code that was dropped in the port to Linux 2.6.39 that protects against using LP2 mode for idle when the platform suspend mode has disallowed the use of LP2 mode. Also cleans up some warning messages. Change-Id: I357210b8a272c10bf7c1e773342dc864bbddb74e Reviewed-on: http://git-master/r/40463 Tested-by: Daniel Willemsen <dwillemsen@nvidia.com> Reviewed-by: Scott Williams <scwilliams@nvidia.com> Reviewed-by: Daniel Willemsen <dwillemsen@nvidia.com> Rebase-Id: R6a60e3f0f2ebf06ec9701475af41679c24ef80ab
Diffstat (limited to 'arch/arm/mach-tegra/sleep.h')
-rw-r--r--arch/arm/mach-tegra/sleep.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/arch/arm/mach-tegra/sleep.h b/arch/arm/mach-tegra/sleep.h
index 0c007139b483..157cc6787859 100644
--- a/arch/arm/mach-tegra/sleep.h
+++ b/arch/arm/mach-tegra/sleep.h
@@ -52,6 +52,8 @@ extern void tegra_lp1_reset;
extern void tegra_iram_start;
extern void tegra_iram_end;
+void tegra_lp2_in_idle(bool enable);
+
void tegra_sleep_reset(void);
void tegra_sleep_wfi(unsigned long v2p);
void tegra_sleep_cpu(unsigned long v2p);