summaryrefslogtreecommitdiff
path: root/arch/blackfin/mach-bf609/pm.c
diff options
context:
space:
mode:
authorSteven Miao <realmz6@gmail.com>2014-07-16 14:23:08 +0800
committerSteven Miao <realmz6@gmail.com>2014-07-26 08:32:44 +0800
commitc6a26ce9af9eca685bdd766bcc1dbc855394880b (patch)
treeda6acc64a8ae5fef612567cb4c51133dac78ffc8 /arch/blackfin/mach-bf609/pm.c
parent9a3c4145af32125c5ee39c0272662b47307a8323 (diff)
pm: bf609: cleanup smc nor flash
drop smc pin state change code, pin state will be saved in pinctrl-adi2 driver cleanup nor flash init/exit for pm suspend/resume Signed-off-by: Steven Miao <realmz6@gmail.com>
Diffstat (limited to 'arch/blackfin/mach-bf609/pm.c')
-rw-r--r--arch/blackfin/mach-bf609/pm.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/arch/blackfin/mach-bf609/pm.c b/arch/blackfin/mach-bf609/pm.c
index 0cdd6955c7be..b1bfcf434d16 100644
--- a/arch/blackfin/mach-bf609/pm.c
+++ b/arch/blackfin/mach-bf609/pm.c
@@ -291,13 +291,13 @@ static struct bfin_cpu_pm_fns bf609_cpu_pm = {
#if defined(CONFIG_MTD_PHYSMAP) || defined(CONFIG_MTD_PHYSMAP_MODULE)
static int smc_pm_syscore_suspend(void)
{
- bf609_nor_flash_exit();
+ bf609_nor_flash_exit(NULL);
return 0;
}
static void smc_pm_syscore_resume(void)
{
- bf609_nor_flash_init();
+ bf609_nor_flash_init(NULL);
}
static struct syscore_ops smc_pm_syscore_ops = {