From 0fbd88ca20a68a633b565e1f5ba18ca64afb0c78 Mon Sep 17 00:00:00 2001 From: Steven Miao Date: Thu, 17 May 2012 17:29:54 +0800 Subject: blackfin: bf60x: add wakeup source select Support select the wakeup source for power management on bf60x. Signed-off-by: Steven Miao Signed-off-by: Bob Liu --- arch/blackfin/mach-common/pm.c | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) (limited to 'arch/blackfin/mach-common/pm.c') diff --git a/arch/blackfin/mach-common/pm.c b/arch/blackfin/mach-common/pm.c index c25c2f1c819..610a3cdf399 100644 --- a/arch/blackfin/mach-common/pm.c +++ b/arch/blackfin/mach-common/pm.c @@ -153,9 +153,6 @@ int bfin_pm_suspend_mem_enter(void) #ifndef CONFIG_BF60x wakeup = bfin_read_VR_CTL() & ~FREQ; -#else - -#endif wakeup |= SCKELOW; #ifdef CONFIG_PM_BFIN_WAKE_PH6 @@ -163,6 +160,7 @@ int bfin_pm_suspend_mem_enter(void) #endif #ifdef CONFIG_PM_BFIN_WAKE_GP wakeup |= GPWE; +#endif #endif ret = blackfin_dma_suspend(); -- cgit v1.2.3-70-g09d2