From 50883b3ebbb3c82f46a7a6df43eb43527bfbb6a5 Mon Sep 17 00:00:00 2001 From: Ryan Lattrel Date: Mon, 29 Oct 2018 14:20:33 -0500 Subject: [PATCH] muc_uart: update sleep timeout to 500ms Change the sleep timeout period from 5s to 500ms. Before the timeout occurs the driver blocks the transmission of messages in the tx queue. Change-Id: Ib35d28c6e0586b1216bbf5cdd769074b6f4629de Signed-off-by: Ryan Lattrel Reviewed-on: https://gerrit.mot.com/1262209 SLTApproved: Slta Waiver SME-Granted: SME Approvals Granted Tested-by: Jira Key Reviewed-by: Kenneth Kessler Submit-Approved: Jira Key --- drivers/mmi_muc_uart/muc_uart.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/drivers/mmi_muc_uart/muc_uart.c b/drivers/mmi_muc_uart/muc_uart.c index 55a643fe987c..3a11620de29d 100644 --- a/drivers/mmi_muc_uart/muc_uart.c +++ b/drivers/mmi_muc_uart/muc_uart.c @@ -79,10 +79,10 @@ void *muc_ipc_log; * we will be stuck forever. Use this value for a timer to clear * the request eventually to try to maybe recover or panic. */ -#define MUC_UART_SLEEP_REQ_TIMEOUT 5000 /* ms */ +#define MUC_UART_SLEEP_REQ_TIMEOUT 500 /* ms */ /* How many times to try to send a message before giving up */ -#define MUC_UART_RETRY_COUNT 10 +#define MUC_UART_RETRY_COUNT 100 struct write_data { struct list_head list;