Skip to contentSkip to conversation

mailbox: qcom-apcs: fix max_register value

PATCH New Jorge Ramirez-Ortiz 1 participant 1 message Sep 9, 2019

Subsystems (2)
lore
Share & tools
lore
#0 lore raw

PATCH v2 1/1 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")

---

v2: added Fixes tag

 drivers/mailbox/qcom-apcs-ipc-mailbox.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
drivers/mailbox/qcom-apcs-ipc-mailbox.c +1 -1
index 705e17a5479c..e5d6b1b70441 100644
@@ -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,
 };
 
Signature · 1 line
2.23.0