summaryrefslogtreecommitdiff
path: root/arch/arm/mach-imx
diff options
context:
space:
mode:
authorRobin Gong <yibin.gong@nxp.com>2018-01-03 13:51:59 +0800
committerLeonard Crestez <leonard.crestez@nxp.com>2018-08-24 12:41:33 +0300
commit04d58bdc7bbd29357f27290779ab9c54531ad519 (patch)
tree392c2a7e4deec7bfec68b0834cb43b7cdd795d70 /arch/arm/mach-imx
parenta27dfff5a1003de73da411dbc96ec825844f301a (diff)
MLK-17332: ARM: imx: pm-rpmsg: remove workqueue delay
With the latest M4 image on i.mx7ULP, which assume life cycle rpmsg is the first channel sending message during AP bootup, we should remove the delay timing window which other rpmsg channel may fall in, otherwise, such rpmsg channel may probe failed as pf1550 regulator rpmsg driver. Signed-off-by: Robin Gong <yibin.gong@nxp.com> Tested-by: Anson Huang <Anson.Huang@nxp.com>
Diffstat (limited to 'arch/arm/mach-imx')
-rw-r--r--arch/arm/mach-imx/pm-rpmsg.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/arch/arm/mach-imx/pm-rpmsg.c b/arch/arm/mach-imx/pm-rpmsg.c
index b4bfa2ad1231..d2a64dfeb7c9 100644
--- a/arch/arm/mach-imx/pm-rpmsg.c
+++ b/arch/arm/mach-imx/pm-rpmsg.c
@@ -230,8 +230,7 @@ static int pm_rpmsg_probe(struct rpmsg_device *rpdev)
pm_heart_beat_work_handler);
pm_rpmsg.first_flag = true;
- schedule_delayed_work(&heart_beat_work,
- msecs_to_jiffies(100));
+ schedule_delayed_work(&heart_beat_work, 0);
pm_rpmsg.restart_handler.notifier_call = pm_restart_handler;
pm_rpmsg.restart_handler.priority = 128;