diff options
author | Jorge Ramirez-Ortiz <jorge.ramirez-ortiz@linaro.org> | 2019-09-09 05:08:50 -0400 |
---|---|---|
committer | Jassi Brar <jaswinder.singh@linaro.org> | 2019-09-17 01:54:29 -0400 |
commit | 556a0964e28c4441dcdd50fb07596fd042246bd5 (patch) | |
tree | f35950968e4fd38962626b67998ebb63634d56fd | |
parent | 88ae25e46cbe9980ad2029c287ec22426d44c532 (diff) |
mailbox: qcom-apcs: fix max_register value
The mailbox length is 0x1000 hence the max_register value is 0xFFC.
Fixes: c6a8b171ca8e ("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>
-rw-r--r-- | drivers/mailbox/qcom-apcs-ipc-mailbox.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/mailbox/qcom-apcs-ipc-mailbox.c b/drivers/mailbox/qcom-apcs-ipc-mailbox.c index 043b5a726ce2..eeebafd546e5 100644 --- a/drivers/mailbox/qcom-apcs-ipc-mailbox.c +++ b/drivers/mailbox/qcom-apcs-ipc-mailbox.c | |||
@@ -28,7 +28,7 @@ static const struct regmap_config apcs_regmap_config = { | |||
28 | .reg_bits = 32, | 28 | .reg_bits = 32, |
29 | .reg_stride = 4, | 29 | .reg_stride = 4, |
30 | .val_bits = 32, | 30 | .val_bits = 32, |
31 | .max_register = 0x1000, | 31 | .max_register = 0xFFC, |
32 | .fast_io = true, | 32 | .fast_io = true, |
33 | }; | 33 | }; |
34 | 34 | ||