diff options
author | Christian Marangi | 2022-11-08 22:56:25 +0100 |
---|---|---|
committer | Greg Kroah-Hartman | 2022-12-31 13:32:21 +0100 |
commit | 35a6ae235108857bb8deed54040767c5522d282b (patch) | |
tree | 1b3d35954c8f3c0cbe8fe5bdfdd9e842a436e659 /README | |
parent | 3b317660e43f7e19c0349d3c11c15df0b843f8c5 (diff) |
clk: qcom: clk-krait: fix wrong div2 functions
[ Upstream commit d676d3a3717cf726d3affedbe5ba98fc4ccad7b3 ]
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
Signed-off-by: Sasha Levin <sashal@kernel.org>
Diffstat (limited to 'README')
0 files changed, 0 insertions, 0 deletions