Merge "ASoC: msm: qdsp6v2: Use EOS status flag for TRIGGER DRAIN"

This commit is contained in:
Linux Build Service Account 2015-01-06 14:30:09 -08:00 committed by Gerrit - the friendly Code Review server
commit d9c0d6089d
1 changed files with 1 additions and 1 deletions

View File

@ -1602,7 +1602,7 @@ static int msm_compr_trigger(struct snd_compr_stream *cstream, int cmd)
/* Wait indefinitely for DRAIN. Flush can also signal this*/
rc = wait_event_interruptible(prtd->eos_wait,
(prtd->cmd_ack ||
(prtd->eos_ack ||
prtd->cmd_interrupt ||
atomic_read(&prtd->error)));