diff options
author | Ye Li <ye.li@nxp.com> | 2019-03-18 01:35:19 -0700 |
---|---|---|
committer | Ye Li <ye.li@nxp.com> | 2019-03-18 02:05:27 -0700 |
commit | 4792d8967d3c631d055c133303bb6385b822a3ca (patch) | |
tree | 17d8d6f7af2f12dbf7cb30c4ae1369752b03a21e | |
parent | 96186ca0048e6ae261176e5f3ebf02be09bacb08 (diff) |
MLK-21168 imx: Set timeout of virtual driver service connection to 2s
The normal ready time of M4 side is less than 1s, so we can use
2s as the timeout of connection. The current value is 10s, which seems
a little long if M4 SRTM service does not run.
Signed-off-by: Ye Li <ye.li@nxp.com>
Acked-by: Peng Fan <peng.fan@nxp.com>
-rw-r--r-- | arch/arm/mach-imx/imx_vservice.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/arch/arm/mach-imx/imx_vservice.c b/arch/arm/mach-imx/imx_vservice.c index 9a190e543b..33f2486453 100644 --- a/arch/arm/mach-imx/imx_vservice.c +++ b/arch/arm/mach-imx/imx_vservice.c @@ -66,7 +66,7 @@ static int imx_vservice_connect(struct imx_vservice_channel *node) int ret = 0; union imx_m4_msg msg; - unsigned long timeout = timer_get_us() + 10000000; /* 10s timeout */ + unsigned long timeout = timer_get_us() + 2000000; /* 2s timeout */ for (;;) { msg.format.seq = 0; |