ARM: enable SUSPEND/ARCH_SUSPEND_POSSIBLE for ARCH_TEGRA
authorStephen Warren <swarren@nvidia.com>
Wed, 5 Sep 2012 15:58:27 +0000 (09:58 -0600)
committerStephen Warren <swarren@nvidia.com>
Thu, 6 Sep 2012 18:27:27 +0000 (12:27 -0600)
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

index c5f9ae5..f134dd8 100644 (file)
@@ -2313,7 +2313,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