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>pull/10/head
parent
382f0d5a49
commit
802558870d
|
@ -314,8 +314,10 @@ static const struct of_device_id pm_heartbeat_id[] = {
|
|||
};
|
||||
MODULE_DEVICE_TABLE(of, pm_heartbeat_id);
|
||||
|
||||
static SIMPLE_DEV_PM_OPS(pm_heartbeat_ops, pm_heartbeat_suspend,
|
||||
pm_heartbeat_resume);
|
||||
static const struct dev_pm_ops pm_heartbeat_ops = {
|
||||
SET_LATE_SYSTEM_SLEEP_PM_OPS(pm_heartbeat_suspend,
|
||||
pm_heartbeat_resume)
|
||||
};
|
||||
|
||||
static struct platform_driver pm_heartbeat_driver = {
|
||||
.driver = {
|
||||
|
|
Loading…
Reference in New Issue