Blackfin arch: Blacklist Hibernate (PM_SUSPEND_MEM) on BF561 as well
authorMichael Hennerich <michael.hennerich@analog.com>
Sat, 28 Mar 2009 15:14:41 +0000 (23:14 +0800)
committerBryan Wu <cooloney@kernel.org>
Sat, 28 Mar 2009 15:14:41 +0000 (23:14 +0800)
Signed-off-by: Michael Hennerich <michael.hennerich@analog.com>
Signed-off-by: Bryan Wu <cooloney@kernel.org>
arch/blackfin/mach-common/pm.c

index f48a6ae..bce5a84 100644 (file)
@@ -287,7 +287,7 @@ int bfin_pm_suspend_mem_enter(void)
 static int bfin_pm_valid(suspend_state_t state)
 {
        return (state == PM_SUSPEND_STANDBY
-#ifndef BF533_FAMILY
+#if !(defined(BF533_FAMILY) || defined(CONFIG_BF561))
        /*
         * On BF533/2/1:
         * If we enter Hibernate the SCKE Pin is driven Low,