Re: [PATCH] firmware: qcom_scm: disable clocks if qcom_scm_bw_enable() fails
From: Bjorn Andersson
Date: Sun Mar 17 2024 - 12:27:37 EST
On Mon, 04 Mar 2024 14:14:53 +0100, Gabor Juhos wrote:
> There are several functions which are calling qcom_scm_bw_enable()
> then returns immediately if the call fails and leaves the clocks
> enabled.
>
> Change the code of these functions to disable clocks when the
> qcom_scm_bw_enable() call fails. This also fixes a possible dma
> buffer leak in the qcom_scm_pas_init_image() function.
>
> [...]
Applied, thanks!
[1/1] firmware: qcom_scm: disable clocks if qcom_scm_bw_enable() fails
commit: 0c50b7fcf2773b4853e83fc15aba1a196ba95966
Best regards,
--
Bjorn Andersson <andersson@xxxxxxxxxx>