Commit 3bcff3e4 authored by Jorge Ramirez-Ortiz's avatar Jorge Ramirez-Ortiz Committed by Stephen Boyd

clk: qcom: fix QCS404 TuringCC regmap

The max register is 0x23004 as per the manual (the current
max_register that this commit is fixing is actually out of bounds).

Fixes: 892df019 ("clk: qcom: Add QCS404 TuringCC")
Signed-off-by: default avatarJorge Ramirez-Ortiz <jorge.ramirez-ortiz@linaro.org>
Link: https://lkml.kernel.org/r/20190909085430.8700-1-jorge.ramirez-ortiz@linaro.orgSigned-off-by: default avatarStephen Boyd <sboyd@kernel.org>
parent 2243fd41
......@@ -96,7 +96,7 @@ static const struct regmap_config turingcc_regmap_config = {
.reg_bits = 32,
.reg_stride = 4,
.val_bits = 32,
.max_register = 0x30000,
.max_register = 0x23004,
.fast_io = true,
};
......
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