]> git.proxmox.com Git - mirror_ubuntu-bionic-kernel.git/blobdiff - sound/soc/soc-pcm.c
Merge remote-tracking branch 'asoc/topic/component' into asoc-next
[mirror_ubuntu-bionic-kernel.git] / sound / soc / soc-pcm.c
index dec0b20d3f3e91c0a82fae8eb6c98b9cda545dd5..efc5831f205dc41670d35013926bd0749d16d4d7 100644 (file)
@@ -2170,9 +2170,11 @@ static int dpcm_fe_dai_do_trigger(struct snd_pcm_substream *substream, int cmd)
                break;
        case SNDRV_PCM_TRIGGER_STOP:
        case SNDRV_PCM_TRIGGER_SUSPEND:
-       case SNDRV_PCM_TRIGGER_PAUSE_PUSH:
                fe->dpcm[stream].state = SND_SOC_DPCM_STATE_STOP;
                break;
+       case SNDRV_PCM_TRIGGER_PAUSE_PUSH:
+               fe->dpcm[stream].state = SND_SOC_DPCM_STATE_PAUSED;
+               break;
        }
 
 out: