Merge "dsp: increase afe apr_send_pkt timeout to 2 seconds"
This commit is contained in:

committed by
Gerrit - the friendly Code Review server

commit
563b443fcd
@@ -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) {
|
||||||
|
Reference in New Issue
Block a user