mailbox: qcom-apcs: fix max_register value
authorJorge Ramirez-Ortiz <jorge.ramirez-ortiz@linaro.org>
Mon, 9 Sep 2019 09:08:50 +0000 (11:08 +0200)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Mon, 27 Jan 2020 13:51:14 +0000 (14:51 +0100)
commit24d6f60b670d4f63940cc5ff2c28306c47be4b64
treeed15483b500448491ed027ff47aea89fc2438869
parentf42b8aa3138cc90fc332f174ff76cd35a81ec385
mailbox: qcom-apcs: fix max_register value

[ Upstream commit 556a0964e28c4441dcdd50fb07596fd042246bd5 ]

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>
Signed-off-by: Sasha Levin <sashal@kernel.org>
drivers/mailbox/qcom-apcs-ipc-mailbox.c