Loading sound/soc/soc-compress.c +4 −3 Original line number Diff line number Diff line Loading @@ -254,15 +254,16 @@ static int soc_compr_free_fe(struct snd_compr_stream *cstream) if (ret < 0) dev_err(fe->dev, "compressed hw_free failed %d\n", ret); if (stream == SNDRV_PCM_STREAM_PLAYBACK) dpcm_dapm_stream_event(fe, stream, SND_SOC_DAPM_STREAM_STOP); ret = dpcm_be_dai_shutdown(fe, stream); /* mark FE's links ready to prune */ list_for_each_entry(dpcm, &fe->dpcm[stream].be_clients, list_be) dpcm->state = SND_SOC_DPCM_LINK_STATE_FREE; if (stream == SNDRV_PCM_STREAM_PLAYBACK) dpcm_dapm_stream_event(fe, stream, SND_SOC_DAPM_STREAM_STOP); else if (stream != SNDRV_PCM_STREAM_PLAYBACK) dpcm_dapm_stream_event(fe, stream, SND_SOC_DAPM_STREAM_STOP); fe->dpcm[stream].state = SND_SOC_DPCM_STATE_CLOSE; Loading Loading
sound/soc/soc-compress.c +4 −3 Original line number Diff line number Diff line Loading @@ -254,15 +254,16 @@ static int soc_compr_free_fe(struct snd_compr_stream *cstream) if (ret < 0) dev_err(fe->dev, "compressed hw_free failed %d\n", ret); if (stream == SNDRV_PCM_STREAM_PLAYBACK) dpcm_dapm_stream_event(fe, stream, SND_SOC_DAPM_STREAM_STOP); ret = dpcm_be_dai_shutdown(fe, stream); /* mark FE's links ready to prune */ list_for_each_entry(dpcm, &fe->dpcm[stream].be_clients, list_be) dpcm->state = SND_SOC_DPCM_LINK_STATE_FREE; if (stream == SNDRV_PCM_STREAM_PLAYBACK) dpcm_dapm_stream_event(fe, stream, SND_SOC_DAPM_STREAM_STOP); else if (stream != SNDRV_PCM_STREAM_PLAYBACK) dpcm_dapm_stream_event(fe, stream, SND_SOC_DAPM_STREAM_STOP); fe->dpcm[stream].state = SND_SOC_DPCM_STATE_CLOSE; Loading