void-packages/srcpkgs/pinephone-uboot/patches/armtf/0005-DO-NOT-MERGE-allwinner-Increase-msgbox-timeout.patch
2020-09-11 20:38:49 +07:00

27 lines
829 B
Diff

From fc9958d8e661ebb5842e68f238eaefb0fb0040c9 Mon Sep 17 00:00:00 2001
From: Samuel Holland <samuel@sholland.org>
Date: Thu, 7 May 2020 18:55:06 -0500
Subject: [PATCH 5/5] [DO NOT MERGE] allwinner: Increase msgbox timeout
Signed-off-by: Samuel Holland <samuel@sholland.org>
Change-Id: Ibf5157e23bfa91323c39387b643b93861451d29b
---
drivers/allwinner/sunxi_msgbox.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/drivers/allwinner/sunxi_msgbox.c b/drivers/allwinner/sunxi_msgbox.c
index cc4a6ffcb..3bd909300 100644
--- a/drivers/allwinner/sunxi_msgbox.c
+++ b/drivers/allwinner/sunxi_msgbox.c
@@ -36,7 +36,7 @@
#define MHU_MAX_SLOT_ID 31
#define MHU_TIMEOUT_DELAY 10
-#define MHU_TIMEOUT_ITERS 10000
+#define MHU_TIMEOUT_ITERS 100000
static DEFINE_BAKERY_LOCK(mhu_secure_message_lock);
--
2.28.0