summaryrefslogtreecommitdiff
path: root/drivers/clk
diff options
context:
space:
mode:
authorStephen Boyd <sboyd@codeaurora.org>2015-01-30 02:38:11 +0300
committerMichael Turquette <mturquette@linaro.org>2015-02-25 23:08:38 +0300
commit7dd47b8ef54c301ecde58cecf2f3e29ff3f48d4a (patch)
tree7853b29ec1f180878d1f788edc65846b9d03839f /drivers/clk
parent03208cc69fc16a8d46de49f51f49964666e4a694 (diff)
downloadlinux-7dd47b8ef54c301ecde58cecf2f3e29ff3f48d4a.tar.xz
clk: qcom: Fix slimbus n and m val offsets
These shifts were copy/pasted from the pcm which is a different size RCG. Use the correct offsets so that slimbus rates are correct. Fixes: b82875ee07e5 "clk: qcom: Add MSM8960/APQ8064 LPASS clock controller (LCC) driver" Signed-off-by: Stephen Boyd <sboyd@codeaurora.org> Signed-off-by: Michael Turquette <mturquette@linaro.org>
Diffstat (limited to 'drivers/clk')
-rw-r--r--drivers/clk/qcom/lcc-msm8960.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/drivers/clk/qcom/lcc-msm8960.c b/drivers/clk/qcom/lcc-msm8960.c
index a75a408cfccd..705e4d5bb6c7 100644
--- a/drivers/clk/qcom/lcc-msm8960.c
+++ b/drivers/clk/qcom/lcc-msm8960.c
@@ -417,8 +417,8 @@ static struct clk_rcg slimbus_src = {
.mnctr_en_bit = 8,
.mnctr_reset_bit = 7,
.mnctr_mode_shift = 5,
- .n_val_shift = 16,
- .m_val_shift = 16,
+ .n_val_shift = 24,
+ .m_val_shift = 8,
.width = 8,
},
.p = {