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
committerJason Liu <jason.hui.liu@nxp.com>2019-02-12 10:30:04 +0800
commitaf994d6211818b31bd48485a8293f366eea21ec1 (patch)
treea554d28d3a87b9ad5896ba908ddfb298aa8e2ba6 /arch/arm/mach-imx
parent8ee448828bf9cb80929fdb3a9382eb1d7643fbb2 (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;