From: Ramon Fried Date: Thu, 24 May 2018 19:21:41 +0000 (+0300) Subject: remoteproc: qcom_q6v5: don't auto boot remote processor X-Git-Tag: v5.1-rc1~33^2~18 X-Git-Url: https://asedeno.scripts.mit.edu/gitweb/?a=commitdiff_plain;h=4107102d60791d04b2ecf6e6d78bfc53ea6e8db3;p=linux.git remoteproc: qcom_q6v5: don't auto boot remote processor Sometimes that rmtfs userspace module is not brought up fast enough and the modem crashes. disabling automated boot in the driver and triggering the boot from user-space sovles the problem. Acked-by: Sibi Sankar Signed-off-by: Ramon Fried Signed-off-by: Bjorn Andersson --- diff --git a/drivers/remoteproc/qcom_q6v5_mss.c b/drivers/remoteproc/qcom_q6v5_mss.c index 07d1cc52a647..71cfac580967 100644 --- a/drivers/remoteproc/qcom_q6v5_mss.c +++ b/drivers/remoteproc/qcom_q6v5_mss.c @@ -1269,6 +1269,8 @@ static int q6v5_probe(struct platform_device *pdev) return -ENOMEM; } + rproc->auto_boot = false; + qproc = (struct q6v5 *)rproc->priv; qproc->dev = &pdev->dev; qproc->rproc = rproc;