diff options
author | Kuninori Morimoto <kuninori.morimoto.gx@renesas.com> | 2020-01-10 11:36:56 +0900 |
---|---|---|
committer | Mark Brown <broonie@kernel.org> | 2020-01-10 13:34:19 +0000 |
commit | b0edff42360ab4f772cc581a60a14089ef2e1718 (patch) | |
tree | 5d20b422bb1e9647dcaa3fc13a7179a69a4a9d63 /sound/soc/soc-compress.c | |
parent | 3f4cf797939cb3ccdb6f989da53f1899d30432dc (diff) | |
download | linux-b0edff42360ab4f772cc581a60a14089ef2e1718.tar.gz linux-b0edff42360ab4f772cc581a60a14089ef2e1718.tar.bz2 linux-b0edff42360ab4f772cc581a60a14089ef2e1718.zip |
ASoC: soc-pcm/soc-compress: use snd_soc_dapm_stream_stop() for SND_SOC_DAPM_STREAM_STOP
dpcm_fe_dai_shutdown() / soc_compr_free_fe() didn't care pmdown_time.
We already have snd_soc_dapm_stream_stop() for it.
Let's use common method.
Signed-off-by: Kuninori Morimoto <kuninori.morimoto.gx@renesas.com>
Link: https://lore.kernel.org/r/87zhewrq9j.wl-kuninori.morimoto.gx@renesas.com
Signed-off-by: Mark Brown <broonie@kernel.org>
Diffstat (limited to 'sound/soc/soc-compress.c')
-rw-r--r-- | sound/soc/soc-compress.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/sound/soc/soc-compress.c b/sound/soc/soc-compress.c index 392a1c5b15d3..223cd045719e 100644 --- a/sound/soc/soc-compress.c +++ b/sound/soc/soc-compress.c @@ -299,7 +299,7 @@ static int soc_compr_free_fe(struct snd_compr_stream *cstream) for_each_dpcm_be(fe, stream, dpcm) dpcm->state = SND_SOC_DPCM_LINK_STATE_FREE; - dpcm_dapm_stream_event(fe, stream, SND_SOC_DAPM_STREAM_STOP); + snd_soc_dapm_stream_stop(fe, stream); fe->dpcm[stream].state = SND_SOC_DPCM_STATE_CLOSE; fe->dpcm[stream].runtime_update = SND_SOC_DPCM_UPDATE_NO; |