mirror of
https://github.com/BobTheBlinker/android_kernel_motorola_sm6375.git
synced 2026-10-10 06:09:23 -04:00
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:
parent
e6fb59eb84
commit
50883b3ebb
1 changed files with 2 additions and 2 deletions
|
|
@ -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;
|
||||
|
|
|
|||
Loading…
Reference in a new issue