Merge remote-tracking branch 'asoc/fix/pcm' into asoc-linus
This commit is contained in:
@@ -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;
|
be->dpcm[stream].state = SND_SOC_DPCM_STATE_STOP;
|
||||||
break;
|
break;
|
||||||
case SNDRV_PCM_TRIGGER_SUSPEND:
|
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;
|
continue;
|
||||||
|
|
||||||
if (!snd_soc_dpcm_can_be_free_stop(fe, be, stream))
|
if (!snd_soc_dpcm_can_be_free_stop(fe, be, stream))
|
||||||
|
Reference in New Issue
Block a user