Commit 4107102d authored by Ramon Fried's avatar Ramon Fried Committed by Bjorn Andersson
Browse files

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: default avatarSibi Sankar <sibis@codeaurora.org>
Signed-off-by: default avatarRamon Fried <ramon.fried@gmail.com>
Signed-off-by: default avatarBjorn Andersson <bjorn.andersson@linaro.org>
parent 74f27202
Loading
Loading
Loading
Loading
+2 −0
Original line number Original line Diff line number Diff line
@@ -1269,6 +1269,8 @@ static int q6v5_probe(struct platform_device *pdev)
		return -ENOMEM;
		return -ENOMEM;
	}
	}


	rproc->auto_boot = false;

	qproc = (struct q6v5 *)rproc->priv;
	qproc = (struct q6v5 *)rproc->priv;
	qproc->dev = &pdev->dev;
	qproc->dev = &pdev->dev;
	qproc->rproc = rproc;
	qproc->rproc = rproc;