Merge "ASoC: msm: q6dspv2: wake up tasks when ADSP goes down"

This commit is contained in:
Linux Build Service Account 2016-11-07 22:29:10 -08:00 committed by Gerrit - the friendly Code Review server
commit ec7b10c39a

View file

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