Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 79d123c5 authored by Santosh Mardi's avatar Santosh Mardi Committed by Gerrit - the friendly Code Review server
Browse files

firmware: arm_scmi: increase the response timeout



For synchronous messages sent from the agent to platform,
agent waits for response for 30 milli seconds (max_rx_timeout)
before timing out if response gets delayed from platform.

Increase the timeout value to 1 second to minimize message
send failures in case of delays.

Change-Id: I72e9ab33a9be675b64301e904e8d43fb8bb89e50
Signed-off-by: default avatarSantosh Mardi <gsantosh@codeaurora.org>
parent aa860b5b
Loading
Loading
Loading
Loading
+1 −1
Original line number Original line Diff line number Diff line
@@ -941,7 +941,7 @@ static int scmi_remove(struct platform_device *pdev)
}
}


static const struct scmi_desc scmi_generic_desc = {
static const struct scmi_desc scmi_generic_desc = {
	.max_rx_timeout_ms = 30,	/* We may increase this if required */
	.max_rx_timeout_ms = 1000,	/* We may increase this if required */
	.max_msg = 20,		/* Limited by MBOX_TX_QUEUE_LEN */
	.max_msg = 20,		/* Limited by MBOX_TX_QUEUE_LEN */
	.max_msg_size = 128,
	.max_msg_size = 128,
};
};