Commit 556a0964 authored by Jorge Ramirez-Ortiz's avatar Jorge Ramirez-Ortiz Committed by Jassi Brar

mailbox: qcom-apcs: fix max_register value

The mailbox length is 0x1000 hence the max_register value is 0xFFC.

Fixes: c6a8b171 ("mailbox: qcom: Convert APCS IPC driver to use
regmap")
Signed-off-by: default avatarJorge Ramirez-Ortiz <jorge.ramirez-ortiz@linaro.org>
Signed-off-by: default avatarJassi Brar <jaswinder.singh@linaro.org>
parent 88ae25e4
......@@ -28,7 +28,7 @@ static const struct regmap_config apcs_regmap_config = {
.reg_bits = 32,
.reg_stride = 4,
.val_bits = 32,
.max_register = 0x1000,
.max_register = 0xFFC,
.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