diff options
author | Martin Chi <mchi@nvidia.com> | 2014-01-24 17:20:19 +0800 |
---|---|---|
committer | Martin Chi <mchi@nvidia.com> | 2014-01-27 02:03:53 -0800 |
commit | 6425567d34e71cad542dfb6d3104f740e56261d5 (patch) | |
tree | f8ebdbd41c1eb543a80fb118b3a37423b47f2009 | |
parent | 3e11a6c957340ae770252923bd8a9878b3877b3e (diff) |
Revert "ARM:tegra:tn7c:switch to LP cluster before LP1"
This reverts commit d9b262e497e4d760f6c2eea595da6845f8fc4b23.
Change-Id: Iaba5e51ce2b340891c2f4746ae401ecb8dbbcc16
Signed-off-by: Martin Chi <mchi@nvidia.com>
Reviewed-on: http://git-master/r/359766
GVS: Gerrit_Virtual_Submit
-rw-r--r-- | arch/arm/mach-tegra/pm.c | 6 |
1 files changed, 2 insertions, 4 deletions
diff --git a/arch/arm/mach-tegra/pm.c b/arch/arm/mach-tegra/pm.c index 306d4c966f76..b08b29e9fa25 100644 --- a/arch/arm/mach-tegra/pm.c +++ b/arch/arm/mach-tegra/pm.c @@ -1233,16 +1233,14 @@ static int tegra_pm_enter_suspend(void) { pr_info("Entering suspend state %s\n", lp_state[current_suspend_mode]); suspend_cpu_dfll_mode(); - if ((current_suspend_mode == TEGRA_SUSPEND_LP0) || \ - (current_suspend_mode == TEGRA_SUSPEND_LP1)) + if (current_suspend_mode == TEGRA_SUSPEND_LP0) tegra_lp0_cpu_mode(true); return 0; } static void tegra_pm_enter_resume(void) { - if ((current_suspend_mode == TEGRA_SUSPEND_LP0) || \ - (current_suspend_mode == TEGRA_SUSPEND_LP1)) + if (current_suspend_mode == TEGRA_SUSPEND_LP0) tegra_lp0_cpu_mode(false); resume_cpu_dfll_mode(); pr_info("Exited suspend state %s\n", lp_state[current_suspend_mode]); |