mirror of
https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git
synced 2024-10-30 16:07:39 +00:00
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>
This commit is contained in:
parent
e42617b825
commit
2ac91aad37
1 changed files with 3 additions and 1 deletions
|
@ -86,7 +86,7 @@ static int adsp_start(struct rproc *rproc)
|
||||||
|
|
||||||
ret = clk_prepare_enable(adsp->xo);
|
ret = clk_prepare_enable(adsp->xo);
|
||||||
if (ret)
|
if (ret)
|
||||||
return ret;
|
goto disable_irqs;
|
||||||
|
|
||||||
ret = clk_prepare_enable(adsp->aggre2_clk);
|
ret = clk_prepare_enable(adsp->aggre2_clk);
|
||||||
if (ret)
|
if (ret)
|
||||||
|
@ -124,6 +124,8 @@ static int adsp_start(struct rproc *rproc)
|
||||||
clk_disable_unprepare(adsp->aggre2_clk);
|
clk_disable_unprepare(adsp->aggre2_clk);
|
||||||
disable_xo_clk:
|
disable_xo_clk:
|
||||||
clk_disable_unprepare(adsp->xo);
|
clk_disable_unprepare(adsp->xo);
|
||||||
|
disable_irqs:
|
||||||
|
qcom_q6v5_unprepare(&adsp->q6v5);
|
||||||
|
|
||||||
return ret;
|
return ret;
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue