Patch "clk: qcom: camcc-sc7180: fix async resume during probe" has been added to the 6.5-stable tree

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



This is a note to let you know that I've just added the patch titled

    clk: qcom: camcc-sc7180: fix async resume during probe

to the 6.5-stable tree which can be found at:
    http://www.kernel.org/git/?p=linux/kernel/git/stable/stable-queue.git;a=summary

The filename of the patch is:
     clk-qcom-camcc-sc7180-fix-async-resume-during-probe.patch
and it can be found in the queue-6.5 subdirectory.

If you, or anyone else, feels it should not be added to the stable tree,
please let <stable@xxxxxxxxxxxxxxx> know about it.


>From c948ff727e25297f3a703eb5349dd66aabf004e4 Mon Sep 17 00:00:00 2001
From: Johan Hovold <johan+linaro@xxxxxxxxxx>
Date: Tue, 18 Jul 2023 15:28:55 +0200
Subject: clk: qcom: camcc-sc7180: fix async resume during probe

From: Johan Hovold <johan+linaro@xxxxxxxxxx>

commit c948ff727e25297f3a703eb5349dd66aabf004e4 upstream.

To make sure that the controller is runtime resumed and its power domain
is enabled before accessing its registers during probe, the synchronous
runtime PM interface must be used.

Fixes: 8d4025943e13 ("clk: qcom: camcc-sc7180: Use runtime PM ops instead of clk ones")
Cc: stable@xxxxxxxxxxxxxxx      # 5.11
Cc: Stephen Boyd <sboyd@xxxxxxxxxx>
Signed-off-by: Johan Hovold <johan+linaro@xxxxxxxxxx>
Link: https://lore.kernel.org/r/20230718132902.21430-2-johan+linaro@xxxxxxxxxx
Signed-off-by: Bjorn Andersson <andersson@xxxxxxxxxx>
Signed-off-by: Greg Kroah-Hartman <gregkh@xxxxxxxxxxxxxxxxxxx>
---
 drivers/clk/qcom/camcc-sc7180.c |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

--- a/drivers/clk/qcom/camcc-sc7180.c
+++ b/drivers/clk/qcom/camcc-sc7180.c
@@ -1664,7 +1664,7 @@ static int cam_cc_sc7180_probe(struct pl
 		return ret;
 	}
 
-	ret = pm_runtime_get(&pdev->dev);
+	ret = pm_runtime_resume_and_get(&pdev->dev);
 	if (ret)
 		return ret;
 


Patches currently in stable-queue which might be from johan+linaro@xxxxxxxxxx are

queue-6.5/clk-qcom-dispcc-sm8550-fix-runtime-pm-imbalance-on-probe-errors.patch
queue-6.5/clk-qcom-camcc-sc7180-fix-async-resume-during-probe.patch
queue-6.5/clk-qcom-lpasscc-sc7280-fix-missing-resume-during-probe.patch
queue-6.5/clk-qcom-mss-sc7180-fix-missing-resume-during-probe.patch
queue-6.5/clk-qcom-turingcc-qcs404-fix-missing-resume-during-probe.patch
queue-6.5/clk-qcom-dispcc-sm8450-fix-runtime-pm-imbalance-on-probe-errors.patch
queue-6.5/clk-qcom-q6sstop-qcs404-fix-missing-resume-during-probe.patch



[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Index of Archives]     [Linux USB Devel]     [Linux Audio Users]     [Yosemite News]     [Linux Kernel]     [Linux SCSI]

  Powered by Linux