mirror of
https://github.com/BobTheBlinker/android_kernel_motorola_sm6375.git
synced 2026-10-08 21:22:09 -04:00
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: Santosh Mardi <gsantosh@codeaurora.org>
This commit is contained in:
parent
aa860b5b17
commit
79d123c5eb
1 changed files with 1 additions and 1 deletions
|
|
@ -941,7 +941,7 @@ static int scmi_remove(struct platform_device *pdev)
|
|||
}
|
||||
|
||||
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_size = 128,
|
||||
};
|
||||
|
|
|
|||
Loading…
Reference in a new issue