summaryrefslogtreecommitdiff
path: root/drivers/clk/qcom/krait-cc.c
diff options
context:
space:
mode:
authorChristian Marangi <ansuelsmth@gmail.com>2022-11-09 00:56:25 +0300
committerBjorn Andersson <andersson@kernel.org>2022-12-02 02:26:37 +0300
commitd676d3a3717cf726d3affedbe5ba98fc4ccad7b3 (patch)
tree95ee9a434ab66151ea0a3397c55b2b46b57f5e8d /drivers/clk/qcom/krait-cc.c
parent09be1a39e685d8c5edd471fd1cac9a8f8280d2de (diff)
downloadlinux-d676d3a3717cf726d3affedbe5ba98fc4ccad7b3.tar.xz
clk: qcom: clk-krait: fix wrong div2 functions
Currently div2 value is applied to the wrong bits. This is caused by a bug in the code where the shift is done only for lpl, for anything else the mask is not shifted to the correct bits. Fix this by correctly shift if lpl is not supported. Fixes: 4d7dc77babfe ("clk: qcom: Add support for Krait clocks") Signed-off-by: Christian Marangi <ansuelsmth@gmail.com> Signed-off-by: Bjorn Andersson <andersson@kernel.org> Link: https://lore.kernel.org/r/20221108215625.30186-1-ansuelsmth@gmail.com
Diffstat (limited to 'drivers/clk/qcom/krait-cc.c')
0 files changed, 0 insertions, 0 deletions