diff options
-rw-r--r-- | arch/arm/mach-tegra/pm-irq.c | 7 |
1 files changed, 6 insertions, 1 deletions
diff --git a/arch/arm/mach-tegra/pm-irq.c b/arch/arm/mach-tegra/pm-irq.c index 4a3f3c31830c..4e3c06835b2f 100644 --- a/arch/arm/mach-tegra/pm-irq.c +++ b/arch/arm/mach-tegra/pm-irq.c @@ -284,10 +284,15 @@ static int tegra_pm_irq_syscore_suspend(void) wake_enb = 0xffffffff; } - /* Clear PMC Wake Status register while going to suspend */ + /* Clear PMC Wake Status registers while going to suspend */ temp = readl(pmc + PMC_WAKE_STATUS); if (temp) pmc_32kwritel(temp, PMC_WAKE_STATUS); +#ifndef CONFIG_ARCH_TEGRA_2x_SOC + temp = readl(pmc + PMC_WAKE2_STATUS); + if (temp) + pmc_32kwritel(temp, PMC_WAKE2_STATUS); +#endif write_pmc_wake_level(wake_level); |