projects
/
GitHub
/
LineageOS
/
G12
/
android_kernel_amlogic_linux-4.9.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
03208cc
)
clk: qcom: Fix slimbus n and m val offsets
author
Stephen Boyd
<sboyd@codeaurora.org>
Thu, 29 Jan 2015 23:38:11 +0000
(15:38 -0800)
committer
Michael Turquette
<mturquette@linaro.org>
Wed, 25 Feb 2015 20:08:38 +0000
(12:08 -0800)
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>
drivers/clk/qcom/lcc-msm8960.c
patch
|
blob
|
blame
|
history
diff --git
a/drivers/clk/qcom/lcc-msm8960.c
b/drivers/clk/qcom/lcc-msm8960.c
index a75a408cfccddffe7e25486a4ca2c4e444c4e9c5..705e4d5bb6c74aeee7f81a7ea1d1e6223b086a2b 100644
(file)
--- 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 = {