projects
/
linux.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
2243fd4
)
clk: qcom: fix QCS404 TuringCC regmap
author
Jorge Ramirez-Ortiz
<jorge.ramirez-ortiz@linaro.org>
Mon, 9 Sep 2019 08:54:30 +0000
(10:54 +0200)
committer
Stephen Boyd
<sboyd@kernel.org>
Mon, 9 Sep 2019 16:05:22 +0000
(09:05 -0700)
The max register is 0x23004 as per the manual (the current
max_register that this commit is fixing is actually out of bounds).
Fixes: 892df0191b29 ("clk: qcom: Add QCS404 TuringCC")
Signed-off-by: Jorge Ramirez-Ortiz <jorge.ramirez-ortiz@linaro.org>
Link:
https://lkml.kernel.org/r/20190909085430.8700-1-jorge.ramirez-ortiz@linaro.org
Signed-off-by: Stephen Boyd <sboyd@kernel.org>
drivers/clk/qcom/turingcc-qcs404.c
patch
|
blob
|
history
diff --git
a/drivers/clk/qcom/turingcc-qcs404.c
b/drivers/clk/qcom/turingcc-qcs404.c
index aa859e6ec9bd2bac615349c94f4a329dae7095b0..4cfbbf5bf4d90e08b8e8a039b7ef47938f86373c 100644
(file)
--- a/
drivers/clk/qcom/turingcc-qcs404.c
+++ b/
drivers/clk/qcom/turingcc-qcs404.c
@@
-96,7
+96,7
@@
static const struct regmap_config turingcc_regmap_config = {
.reg_bits = 32,
.reg_stride = 4,
.val_bits = 32,
- .max_register = 0x
30000
,
+ .max_register = 0x
23004
,
.fast_io = true,
};