From: Peng Fan <[email protected]>

Following Linux Kernel drivers/firmware/arm_scmi/transports/mailbox.c to
set the default timeout to 30ms.

Signed-off-by: Peng Fan <[email protected]>
---
 drivers/firmware/scmi/mailbox_agent.c | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/drivers/firmware/scmi/mailbox_agent.c 
b/drivers/firmware/scmi/mailbox_agent.c
index 
6d4497f4b92ad21f7b303896fc75e2cdc27885c8..32b0fd9f589a30c2bb8bdbe8d655c3d47d0abd5a
 100644
--- a/drivers/firmware/scmi/mailbox_agent.c
+++ b/drivers/firmware/scmi/mailbox_agent.c
@@ -16,7 +16,7 @@
 
 #include "smt.h"
 
-#define TIMEOUT_US_10MS                        10000
+#define TIMEOUT_US_30MS                        30000
 
 /**
  * struct scmi_mbox_channel - Description of an SCMI mailbox transport
@@ -87,7 +87,7 @@ static int setup_channel(struct udevice *dev, struct 
scmi_mbox_channel *chan)
                return ret;
        }
 
-       chan->timeout_us = TIMEOUT_US_10MS;
+       chan->timeout_us = TIMEOUT_US_30MS;
 
        return 0;
 }

-- 
2.35.3

Reply via email to