mailbox: qcom-apcs: fix max_register value

[ Upstream commit 556a0964e2 ]

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

Fixes: c6a8b171ca ("mailbox: qcom: Convert APCS IPC driver to use
regmap")
Signed-off-by: Jorge Ramirez-Ortiz <jorge.ramirez-ortiz@linaro.org>
Signed-off-by: Jassi Brar <jaswinder.singh@linaro.org>
Signed-off-by: Sasha Levin <sashal@kernel.org>
This commit is contained in:
Jorge Ramirez-Ortiz 2019-09-09 11:08:50 +02:00 committed by Greg Kroah-Hartman
parent f42b8aa313
commit 24d6f60b67

View File

@ -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,
};