MLK-17735 ARM: imx: pm-rpmsg: ensure the pm is late suspended and early resumed
authorFugang Duan <fugang.duan@nxp.com>
Wed, 7 Mar 2018 10:41:21 +0000 (18:41 +0800)
committerNitin Garg <nitin.garg@nxp.com>
Tue, 20 Mar 2018 19:56:29 +0000 (14:56 -0500)
commite4698ef288c82260e453ac56fe184e335e30c434
tree29f038f54a8ec07b989b2726d2689be19e2ff264
parent6e5ca4b071b39fcc61ac7011b50bb90eba97d2e0
MLK-17735 ARM: imx: pm-rpmsg: ensure the pm is late suspended and early resumed

Since some drivers using rpmsg io as wakeup source enable the wakeup
in suspend stage, then it has to ensure pm rpmsg driver pm sleep is
late suspended and early resumed, otherwise M4 will wakeup A core
directly even if there has no wakeup signal.

Reviewed-by: Robin Gong<yibin.gong@nxp.com>
Signed-off-by: Fugang Duan <fugang.duan@nxp.com>
arch/arm/mach-imx/pm-rpmsg.c