clk: qcom: gcc: ipq5332: Use floor ops for SDCC clocks
authorKathiravan T <quic_kathirav@quicinc.com>
Mon, 8 May 2023 16:31:45 +0000 (22:01 +0530)
committerBjorn Andersson <andersson@kernel.org>
Thu, 25 May 2023 02:29:09 +0000 (19:29 -0700)
commita30e62bf6bf4d3230fa9164c7e174e32b9be7ba5
tree4b0e9db2cf35698dc1cc8e9c9fcba762e58cb01b
parentde6d1f0c4919852514459f1876d7168212e5e1cd
clk: qcom: gcc: ipq5332: Use floor ops for SDCC clocks

SDCC clocks must be rounded down to avoid overclocking the controller.

Fixes: 3d89d52970fd ("clk: qcom: add Global Clock controller (GCC) driver for IPQ5332 SoC")
Signed-off-by: Kathiravan T <quic_kathirav@quicinc.com>
Reviewed-by: Konrad Dybcio <konrad.dybcio@linaro.org>
Signed-off-by: Bjorn Andersson <andersson@kernel.org>
Link: https://lore.kernel.org/r/20230508163145.9678-1-quic_kathirav@quicinc.com
drivers/clk/qcom/gcc-ipq5332.c