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>
}
mx6_suspend_store();
+ /* i.MX6dl TO1.0 TKT094231: can't support ARM_POWER_OFF mode */
+ if (state == PM_SUSPEND_MEM &&
+ (mx6dl_revision() == IMX_CHIP_REVISION_1_0)) {
+ state = PM_SUSPEND_STANDBY;
+ }
+
switch (state) {
case PM_SUSPEND_MEM:
gpu_power_down();