Commit 24d6f60b authored by Jorge Ramirez-Ortiz's avatar Jorge Ramirez-Ortiz Committed by Greg Kroah-Hartman

mailbox: qcom-apcs: fix max_register value

[ Upstream commit 556a0964 ]

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>
Signed-off-by: default avatarSasha Levin <sashal@kernel.org>
parent f42b8aa3
......@@ -36,7 +36,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