Merge "ASoC: msm: q6dspv2: wake up tasks when ADSP goes down"
This commit is contained in:
commit
ec7b10c39a
1 changed files with 2 additions and 0 deletions
|
@ -1658,8 +1658,10 @@ static int32_t q6asm_callback(struct apr_client_data *data, void *priv)
|
|||
ac->apr = NULL;
|
||||
atomic_set(&ac->time_flag, 0);
|
||||
atomic_set(&ac->cmd_state, 0);
|
||||
atomic_set(&ac->mem_state, 0);
|
||||
wake_up(&ac->time_wait);
|
||||
wake_up(&ac->cmd_wait);
|
||||
wake_up(&ac->mem_wait);
|
||||
mutex_unlock(&ac->cmd_lock);
|
||||
return 0;
|
||||
}
|
||||
|
|
Loading…
Add table
Reference in a new issue