summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMark Brown <broonie@linaro.org>2014-05-14 15:52:41 +0400
committerMark Brown <broonie@linaro.org>2014-05-14 15:52:41 +0400
commitcf86197ec5655ed1f54f1f7ba34a01d576e3737d (patch)
tree9f95ca616e7a789c60a4e6fc17cc85e84bf1c675
parent0d1203f29199a1d754bd1ca335c3dc6b14be160b (diff)
parent868a6ca84ee7e547ae01a5e04e232e4a392c50b8 (diff)
downloadlinux-cf86197ec5655ed1f54f1f7ba34a01d576e3737d.tar.xz
Merge remote-tracking branch 'asoc/fix/pcm' into asoc-linus
-rw-r--r--sound/soc/soc-pcm.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/sound/soc/soc-pcm.c b/sound/soc/soc-pcm.c
index 2cedf09f6d96..a391de058037 100644
--- a/sound/soc/soc-pcm.c
+++ b/sound/soc/soc-pcm.c
@@ -1675,7 +1675,7 @@ int dpcm_be_dai_trigger(struct snd_soc_pcm_runtime *fe, int stream,
be->dpcm[stream].state = SND_SOC_DPCM_STATE_STOP;
break;
case SNDRV_PCM_TRIGGER_SUSPEND:
- if (be->dpcm[stream].state != SND_SOC_DPCM_STATE_STOP)
+ if (be->dpcm[stream].state != SND_SOC_DPCM_STATE_START)
continue;
if (!snd_soc_dpcm_can_be_free_stop(fe, be, stream))