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 <ryanl@motorola.com>
Reviewed-on: https://gerrit.mot.com/1262209
SLTApproved: Slta Waiver
SME-Granted: SME Approvals Granted
Tested-by: Jira Key
Reviewed-by: Kenneth Kessler <kennykessler@motorola.com>
Submit-Approved: Jira Key
This commit is contained in:
Ryan Lattrel 2018-10-29 14:20:33 -05:00
commit 50883b3ebb

View file

@ -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;