From 978fe4c1985f4c1216bfa99e55d20c91a5a66665 Mon Sep 17 00:00:00 2001 From: Vinod Koul Date: Tue, 12 Jun 2012 16:16:17 +0530 Subject: [PATCH] --- yaml --- r: 310800 b: refs/heads/master c: 6b18f79399f25a0f8e2b915b2dcb8bf5c7aa470d h: refs/heads/master v: v3 --- [refs] | 2 +- trunk/sound/core/compress_offload.c | 4 +--- 2 files changed, 2 insertions(+), 4 deletions(-) diff --git a/[refs] b/[refs] index 0f374cb8b41b..36a82675a699 100644 --- a/[refs] +++ b/[refs] @@ -1,2 +1,2 @@ --- -refs/heads/master: f2a8ecaf6d7259cc70fb5898823eab9a2dd86570 +refs/heads/master: 6b18f79399f25a0f8e2b915b2dcb8bf5c7aa470d diff --git a/trunk/sound/core/compress_offload.c b/trunk/sound/core/compress_offload.c index a68aed7fce02..375f7a0d66ef 100644 --- a/trunk/sound/core/compress_offload.c +++ b/trunk/sound/core/compress_offload.c @@ -502,10 +502,8 @@ static int snd_compr_pause(struct snd_compr_stream *stream) if (stream->runtime->state != SNDRV_PCM_STATE_RUNNING) return -EPERM; retval = stream->ops->trigger(stream, SNDRV_PCM_TRIGGER_PAUSE_PUSH); - if (!retval) { + if (!retval) stream->runtime->state = SNDRV_PCM_STATE_PAUSED; - wake_up(&stream->runtime->sleep); - } return retval; }