diff options
author | Jason Liu <r64343@freescale.com> | 2012-04-17 19:08:00 +0800 |
---|---|---|
committer | Xinyu Chen <xinyu.chen@freescale.com> | 2012-05-24 09:38:11 +0800 |
commit | 597f463197ef32b8f033776f1c599090e9f2b9aa (patch) | |
tree | 6aef683d869c545be0ec05a50f70c14504748729 | |
parent | 28a8d09f134964e45d2c1f6f0b39ff651981388e (diff) |
ENGR00179851: i.mx6dl: map the MEM mode to STANDBY mode
Due to i.mx6dl TO1.0(TKT094231), Suspend/resume cannot work
stable under deep sleep mode(Dormant, MEM MODE) thus we need
map the MEM mode to STANBY mode(ARM will not power off), this
issue will be fixed on TO1.1
Signed-off-by: Jason Liu <r64343@freescale.com>
-rw-r--r-- | arch/arm/mach-mx6/pm.c | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/arch/arm/mach-mx6/pm.c b/arch/arm/mach-mx6/pm.c index 76a2c8dca50e..03ff88000052 100644 --- a/arch/arm/mach-mx6/pm.c +++ b/arch/arm/mach-mx6/pm.c @@ -293,6 +293,10 @@ static int mx6_suspend_enter(suspend_state_t state) } mx6_suspend_store(); + /* i.MX6dl TO1.0 TKT094231: can't support ARM_POWER_OFF mode */ + if (state == PM_SUSPEND_MEM && cpu_is_mx6dl()) + state = PM_SUSPEND_STANDBY; + switch (state) { case PM_SUSPEND_MEM: gpu_power_down(); |