Merge "dsp: increase afe apr_send_pkt timeout to 2 seconds"

This commit is contained in:
Linux Build Service Account
2018-11-04 19:08:04 -08:00
committed by Gerrit - the friendly Code Review server

View File

@@ -851,7 +851,7 @@ static int afe_apr_send_pkt(void *data, wait_queue_head_t *wait)
if (wait) { if (wait) {
ret = wait_event_timeout(*wait, ret = wait_event_timeout(*wait,
(atomic_read(&this_afe.state) == 0), (atomic_read(&this_afe.state) == 0),
msecs_to_jiffies(TIMEOUT_MS)); msecs_to_jiffies(2 * TIMEOUT_MS));
if (!ret) { if (!ret) {
ret = -ETIMEDOUT; ret = -ETIMEDOUT;
} else if (atomic_read(&this_afe.status) > 0) { } else if (atomic_read(&this_afe.status) > 0) {