diff options
author | Sibi Sankar <sibis@codeaurora.org> | 2019-11-18 21:43:30 +0000 |
---|---|---|
committer | Bjorn Andersson <bjorn.andersson@linaro.org> | 2019-12-16 15:38:17 -0800 |
commit | 2ac91aad378ae0f8688dfcd89c7e5e20a46688ed (patch) | |
tree | 5a555a7cd940b2876fc30d4bb532eff574e18455 /drivers/remoteproc | |
parent | e42617b825f8073569da76dc4510bfa019b1c35a (diff) | |
download | linux-2ac91aad378ae0f8688dfcd89c7e5e20a46688ed.tar.gz linux-2ac91aad378ae0f8688dfcd89c7e5e20a46688ed.tar.bz2 linux-2ac91aad378ae0f8688dfcd89c7e5e20a46688ed.zip |
remoteproc: qcom: pas: Disable interrupt on clock enable failure
Disable handover smp2p interrupt on "xo" clock prepare enable failure.
Signed-off-by: Sibi Sankar <sibis@codeaurora.org>
Link: https://lore.kernel.org/r/0101016e80787f5e-e7b2e8af-a398-4fb4-ae27-a5f251d1f9cc-000000@us-west-2.amazonses.com
Signed-off-by: Bjorn Andersson <bjorn.andersson@linaro.org>
Diffstat (limited to 'drivers/remoteproc')
-rw-r--r-- | drivers/remoteproc/qcom_q6v5_pas.c | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/drivers/remoteproc/qcom_q6v5_pas.c b/drivers/remoteproc/qcom_q6v5_pas.c index db4b3c4bacd7..0fdd3748398a 100644 --- a/drivers/remoteproc/qcom_q6v5_pas.c +++ b/drivers/remoteproc/qcom_q6v5_pas.c @@ -86,7 +86,7 @@ static int adsp_start(struct rproc *rproc) ret = clk_prepare_enable(adsp->xo); if (ret) - return ret; + goto disable_irqs; ret = clk_prepare_enable(adsp->aggre2_clk); if (ret) @@ -124,6 +124,8 @@ disable_aggre2_clk: clk_disable_unprepare(adsp->aggre2_clk); disable_xo_clk: clk_disable_unprepare(adsp->xo); +disable_irqs: + qcom_q6v5_unprepare(&adsp->q6v5); return ret; } |