]> git.baikalelectronics.ru Git - kernel.git/commit
clk: qcom: gcc-qcs404: Use floor ops for sdcc clks
authorVinod Koul <vkoul@kernel.org>
Fri, 6 Sep 2019 04:56:59 +0000 (10:26 +0530)
committerStephen Boyd <sboyd@kernel.org>
Mon, 9 Sep 2019 11:38:22 +0000 (04:38 -0700)
commit192a94f876df7e51a0707c2f539aa2a009c03c5c
tree1b941e44198648e415bade367ef26344ac424322
parentbc1a8cf674a11dcc2c6922a8dfc83428dc39c8c5
clk: qcom: gcc-qcs404: Use floor ops for sdcc clks

Update the gcc qcs404 clock driver to use floor ops for sdcc clocks. As
disuccsed in [1] it is good idea to use floor ops for sdcc clocks as we
dont want the clock rates to do round up.

[1]: https://lore.kernel.org/linux-arm-msm/20190830195142.103564-1-swboyd@chromium.org/

Signed-off-by: Vinod Koul <vkoul@kernel.org>
Link: https://lkml.kernel.org/r/20190906045659.20621-1-vkoul@kernel.org
Reviewed-by: Bjorn Andersson <bjorn.andersson@linaro.org>
Signed-off-by: Stephen Boyd <sboyd@kernel.org>
drivers/clk/qcom/gcc-qcs404.c