Patch "interconnect: qcom: rpm: Don't use clk_get_optional for bus clocks anymore" has been added to the 6.4-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

    interconnect: qcom: rpm: Don't use clk_get_optional for bus clocks anymore

to the 6.4-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:
     interconnect-qcom-rpm-don-t-use-clk_get_optional-for.patch
and it can be found in the queue-6.4 subdirectory.

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



commit d8a5111bafff346389b53af943e23780ce84a637
Author: Konrad Dybcio <konrad.dybcio@xxxxxxxxxx>
Date:   Fri Apr 7 22:14:49 2023 +0200

    interconnect: qcom: rpm: Don't use clk_get_optional for bus clocks anymore
    
    [ Upstream commit 1ff7aedcdcdd4fe02201269ab428b09491e5cf6e ]
    
    Commit dd42ec8ea5b9 ("interconnect: qcom: rpm: Use _optional func for provider clocks")
    relaxed the requirements around probing bus clocks. This was a decent
    solution for making sure MSM8996 would still boot with old DTs, but
    now that there's a proper fix in place that both old and new DTs
    will be happy about, revert back to the safer variant of the
    function.
    
    Fixes: dd42ec8ea5b9 ("interconnect: qcom: rpm: Use _optional func for provider clocks")
    Signed-off-by: Konrad Dybcio <konrad.dybcio@xxxxxxxxxx>
    Link: https://lore.kernel.org/r/20230228-topic-qos-v8-7-ee696a2c15a9@xxxxxxxxxx
    Signed-off-by: Georgi Djakov <djakov@xxxxxxxxxx>
    Signed-off-by: Sasha Levin <sashal@xxxxxxxxxx>

diff --git a/drivers/interconnect/qcom/icc-rpm.c b/drivers/interconnect/qcom/icc-rpm.c
index ec39861c1764c..8d3138e8c1ee3 100644
--- a/drivers/interconnect/qcom/icc-rpm.c
+++ b/drivers/interconnect/qcom/icc-rpm.c
@@ -494,7 +494,7 @@ int qnoc_probe(struct platform_device *pdev)
 	}
 
 regmap_done:
-	ret = devm_clk_bulk_get_optional(dev, qp->num_bus_clks, qp->bus_clks);
+	ret = devm_clk_bulk_get(dev, qp->num_bus_clks, qp->bus_clks);
 	if (ret)
 		return ret;
 



[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