diff options
author | Konrad Dybcio <konrad.dybcio@linaro.org> | 2022-12-10 21:03:52 +0100 |
---|---|---|
committer | Georgi Djakov <djakov@kernel.org> | 2023-01-05 16:29:57 +0100 |
commit | dd42ec8ea5b979edcebbf0ba05807d866884b567 (patch) | |
tree | 228adb173ba16134890296613981f5ce998e64b7 /drivers | |
parent | interconnect: qcom: msm8996: Fix regmap max_register values (diff) | |
download | linux-dd42ec8ea5b979edcebbf0ba05807d866884b567.tar.xz linux-dd42ec8ea5b979edcebbf0ba05807d866884b567.zip |
interconnect: qcom: rpm: Use _optional func for provider clocks
It turned out that - very unfortunately - msm8996 needs a binding
update, adding 2 more clocks to the A2NoC node. Use the _optional
variant of devm_clk_get to make sure old DTs will still probe with
newer versions of the driver.
Signed-off-by: Konrad Dybcio <konrad.dybcio@linaro.org>
Reviewed-by: Dmitry Baryshkov <dmitry.baryshkov@linaro.org>
Tested-by: Dmitry Baryshkov <dmitry.baryshkov@linaro.org> #db820c
Link: https://lore.kernel.org/r/20221210200353.418391-5-konrad.dybcio@linaro.org
Signed-off-by: Georgi Djakov <djakov@kernel.org>
Diffstat (limited to 'drivers')
-rw-r--r-- | drivers/interconnect/qcom/icc-rpm.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/interconnect/qcom/icc-rpm.c b/drivers/interconnect/qcom/icc-rpm.c index ba6781f54ab7..df3196f72536 100644 --- a/drivers/interconnect/qcom/icc-rpm.c +++ b/drivers/interconnect/qcom/icc-rpm.c @@ -488,7 +488,7 @@ int qnoc_probe(struct platform_device *pdev) } regmap_done: - ret = devm_clk_bulk_get(dev, qp->num_clks, qp->bus_clks); + ret = devm_clk_bulk_get_optional(dev, qp->num_clks, qp->bus_clks); if (ret) return ret; |