1
0
Fork 0

LF-1360 remoteproc: imx: enlarge the mbox timeout delay

Enlarge timeout delay to 50ms, 20ms seems not enough. it is easy
to timeout using 20ms when m4 enter VLLS mode.

Reviewed-by: Richard Zhu <hongxing.zhu@nxp.com>
Signed-off-by: Peng Fan <peng.fan@nxp.com>
5.4-rM2-2.2.x-imx-squashed
Peng Fan 2020-04-29 14:18:25 +08:00
parent 3ea2de8648
commit fe92d9f8f3
1 changed files with 3 additions and 3 deletions

View File

@ -784,7 +784,7 @@ static void imx_rproc_kick(struct rproc *rproc, int vqid)
mmsg = vqid << 16;
priv->cl.tx_tout = 20;
priv->cl.tx_tout = 50;
err = mbox_send_message(priv->tx_ch, (void *)&mmsg);
if (err < 0)
dev_err(priv->dev, "%s: failed (%d, err:%d)\n",
@ -966,7 +966,7 @@ static int imx_rproc_db_channel_init(struct rproc *rproc)
cl = &priv->cl_txdb;
cl->dev = dev;
cl->tx_block = true;
cl->tx_tout = 20;
cl->tx_tout = 50;
cl->knows_txdone = false;
/* txdb is optional */
@ -1011,7 +1011,7 @@ static int imx_rproc_xtr_mbox_init(struct rproc *rproc)
cl = &priv->cl;
cl->dev = dev;
cl->tx_block = true;
cl->tx_tout = 20;
cl->tx_tout = 50;
cl->knows_txdone = false;
cl->rx_callback = imx_rproc_rx_callback;