Commit 7dd47b8e authored by Stephen Boyd's avatar Stephen Boyd Committed by Michael Turquette

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: b82875ee "clk: qcom: Add MSM8960/APQ8064 LPASS clock controller (LCC) driver"
Signed-off-by: default avatarStephen Boyd <sboyd@codeaurora.org>
Signed-off-by: default avatarMichael Turquette <mturquette@linaro.org>
parent 03208cc6
...@@ -417,8 +417,8 @@ static struct clk_rcg slimbus_src = { ...@@ -417,8 +417,8 @@ static struct clk_rcg slimbus_src = {
.mnctr_en_bit = 8, .mnctr_en_bit = 8,
.mnctr_reset_bit = 7, .mnctr_reset_bit = 7,
.mnctr_mode_shift = 5, .mnctr_mode_shift = 5,
.n_val_shift = 16, .n_val_shift = 24,
.m_val_shift = 16, .m_val_shift = 8,
.width = 8, .width = 8,
}, },
.p = { .p = {
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment