diff options
author | Johan Hovold <johan+linaro@kernel.org> | 2023-07-18 15:28:56 +0200 |
---|---|---|
committer | Bjorn Andersson <andersson@kernel.org> | 2023-07-18 16:58:49 +0200 |
commit | b0f3d01bda6c3f6f811e70f76d2040ae81f64565 (patch) | |
tree | 412e269272ea9166f861ff5242afdfae258a2a24 /drivers/clk/pxa | |
parent | clk: qcom: camcc-sc7180: fix async resume during probe (diff) | |
download | linux-b0f3d01bda6c3f6f811e70f76d2040ae81f64565.tar.xz linux-b0f3d01bda6c3f6f811e70f76d2040ae81f64565.zip |
clk: qcom: dispcc-sm8450: fix runtime PM imbalance on probe errors
Make sure to decrement the runtime PM usage count before returning in
case regmap initialisation fails.
Fixes: 16fb89f92ec4 ("clk: qcom: Add support for Display Clock Controller on SM8450")
Cc: stable@vger.kernel.org # 6.1
Cc: Dmitry Baryshkov <dmitry.baryshkov@linaro.org>
Signed-off-by: Johan Hovold <johan+linaro@kernel.org>
Link: https://lore.kernel.org/r/20230718132902.21430-3-johan+linaro@kernel.org
Signed-off-by: Bjorn Andersson <andersson@kernel.org>
Diffstat (limited to 'drivers/clk/pxa')
0 files changed, 0 insertions, 0 deletions