diff mbox

ARM: enable SUSPEND/ARCH_SUSPEND_POSSIBLE for ARCH_TEGRA

Message ID 1346861811-6597-1-git-send-email-swarren@wwwdotorg.org
State Accepted, archived
Headers show

Commit Message

Stephen Warren Sept. 5, 2012, 4:16 p.m. UTC
From: Stephen Warren <swarren@nvidia.com>

Even though system suspend/resume hasn't been validated on Tegra yet,
this Kconfig option needs to be enabled so that system shutdown is
reliable on an SMP system. Without it, I2C interrupts may be routed
to CPU0, whereas shutdown code may be running on CPU1, causing I2C
timeouts, preventing communication with the external PMIC.

This reverts 3d5e8af "ARM: disable SUSPEND/ARCH_SUSPEND_POSSIBLE for
ARCH_TEGRA".

Signed-off-by: Stephen Warren <swarren@nvidia.com>
---
 arch/arm/Kconfig |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

Comments

Stephen Warren Sept. 6, 2012, 6:28 p.m. UTC | #1
On 09/05/2012 10:16 AM, Stephen Warren wrote:
> Even though system suspend/resume hasn't been validated on Tegra yet,
> this Kconfig option needs to be enabled so that system shutdown is
> reliable on an SMP system. Without it, I2C interrupts may be routed
> to CPU0, whereas shutdown code may be running on CPU1, causing I2C
> timeouts, preventing communication with the external PMIC.
> 
> This reverts 3d5e8af "ARM: disable SUSPEND/ARCH_SUSPEND_POSSIBLE for
> ARCH_TEGRA".

Applied to Tegra's for-3.7/fixes branch.

--
To unsubscribe from this list: send the line "unsubscribe linux-tegra" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html
diff mbox

Patch

diff --git a/arch/arm/Kconfig b/arch/arm/Kconfig
index 88ff698..0dd1fca 100644
--- a/arch/arm/Kconfig
+++ b/arch/arm/Kconfig
@@ -2247,7 +2247,7 @@  menu "Power management options"
 source "kernel/power/Kconfig"
 
 config ARCH_SUSPEND_POSSIBLE
-	depends on !ARCH_S5PC100 && !ARCH_TEGRA
+	depends on !ARCH_S5PC100
 	depends on CPU_ARM920T || CPU_ARM926T || CPU_SA1100 || \
 		CPU_V6 || CPU_V6K || CPU_V7 || CPU_XSC3 || CPU_XSCALE || CPU_MOHAWK
 	def_bool y