MLK-20446 rpmsg: imx: only use the timeout by the first notify
authorRichard Zhu <hongxing.zhu@nxp.com>
Thu, 22 Nov 2018 06:11:05 +0000 (14:11 +0800)
committerLeonard Crestez <leonard.crestez@nxp.com>
Wed, 17 Apr 2019 23:51:34 +0000 (02:51 +0300)
commita0af7c80cc12f9e755eb891657993d7c31c0bc24
tree5ee603ff0fe6820cf003d93a7a52a7ad370907a6
parenta3228c68bc017d6dfa16465f8dc8c437913a6b94
MLK-20446 rpmsg: imx: only use the timeout by the first notify

To make sure that the message wound't be discarded when
M4 is running normally or in the suspend mode. Only use
the timeout mechanism by the first notify when the vdev
is registered.

Signed-off-by: Richard Zhu <hongxing.zhu@nxp.com>
(cherry picked from commit aaf42a6c2c224aa9bd88b13abcf8f848f2eab073)
Signed-off-by: Arulpandiyan Vadivel <arulpandiyan_vadivel@mentor.com>
drivers/rpmsg/imx_rpmsg.c