浏览代码

Blackfin arch: Blacklist Hibernate (PM_SUSPEND_MEM) on BF561 as well

Signed-off-by: Michael Hennerich <michael.hennerich@analog.com>
Signed-off-by: Bryan Wu <cooloney@kernel.org>
Michael Hennerich 16 年之前
父节点
当前提交
b89df50423
共有 1 个文件被更改,包括 1 次插入1 次删除
  1. 1 1
      arch/blackfin/mach-common/pm.c

+ 1 - 1
arch/blackfin/mach-common/pm.c

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