Skip to content

Commit 1ff7aed

Browse files
konradybcioGeorgi Djakov
authored andcommitted
interconnect: qcom: rpm: Don't use clk_get_optional for bus clocks anymore
Commit dd42ec8 ("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: dd42ec8 ("interconnect: qcom: rpm: Use _optional func for provider clocks") Signed-off-by: Konrad Dybcio <konrad.dybcio@linaro.org> Link: https://lore.kernel.org/r/20230228-topic-qos-v8-7-ee696a2c15a9@linaro.org Signed-off-by: Georgi Djakov <djakov@kernel.org>
1 parent a867cf9 commit 1ff7aed

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

drivers/interconnect/qcom/icc-rpm.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -481,7 +481,7 @@ int qnoc_probe(struct platform_device *pdev)
481481
}
482482

483483
regmap_done:
484-
ret = devm_clk_bulk_get_optional(dev, qp->num_bus_clks, qp->bus_clks);
484+
ret = devm_clk_bulk_get(dev, qp->num_bus_clks, qp->bus_clks);
485485
if (ret)
486486
return ret;
487487

0 commit comments

Comments
 (0)