diff options
author | Sibi Sankar <sibis@codeaurora.org> | 2019-01-08 11:23:43 +0100 |
---|---|---|
committer | Bjorn Andersson <bjorn.andersson@linaro.org> | 2019-01-22 06:14:26 +0100 |
commit | 027045a6e2b7cd81216e8a559534a30fb0782702 (patch) | |
tree | ba4f3faf56b150d02491bc83c13774db9c02130d /drivers/remoteproc/qcom_q6v5_mss.c | |
parent | dt-bindings: remoteproc: qcom: Introduce shutdown-ack irq for Q6V5 (diff) | |
download | linux-027045a6e2b7cd81216e8a559534a30fb0782702.tar.xz linux-027045a6e2b7cd81216e8a559534a30fb0782702.zip |
remoteproc: qcom: Add shutdown-ack irq
Add shutdown-ack irq handling required for sysmon shutdown for
Q6V5 MSS on SDM845/MSM8996 and for WCSS Q6V5 on QCS404 SoC.
Signed-off-by: Sibi Sankar <sibis@codeaurora.org>
[bjorn: Revert back to qcom_add_sysmon_subdev returning a sysmon object]
Signed-off-by: Bjorn Andersson <bjorn.andersson@linaro.org>
Diffstat (limited to 'drivers/remoteproc/qcom_q6v5_mss.c')
-rw-r--r-- | drivers/remoteproc/qcom_q6v5_mss.c | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/drivers/remoteproc/qcom_q6v5_mss.c b/drivers/remoteproc/qcom_q6v5_mss.c index c86dc40cfb8c..07d1cc52a647 100644 --- a/drivers/remoteproc/qcom_q6v5_mss.c +++ b/drivers/remoteproc/qcom_q6v5_mss.c @@ -1341,6 +1341,10 @@ static int q6v5_probe(struct platform_device *pdev) qcom_add_smd_subdev(rproc, &qproc->smd_subdev); qcom_add_ssr_subdev(rproc, &qproc->ssr_subdev, "mpss"); qproc->sysmon = qcom_add_sysmon_subdev(rproc, "modem", 0x12); + if (IS_ERR(qproc->sysmon)) { + ret = PTR_ERR(qproc->sysmon); + goto free_rproc; + } ret = rproc_add(rproc); if (ret) |