summaryrefslogtreecommitdiff
path: root/sound/soc/soc-pcm.c
diff options
context:
space:
mode:
authorKuninori Morimoto <kuninori.morimoto.gx@renesas.com>2023-06-08 06:49:11 +0000
committerMark Brown <broonie@kernel.org>2023-06-13 12:11:23 +0100
commit099770e2dae04579670947aaf8b5c70ef6a4cb6a (patch)
tree9af8eb4f0ea4d5cf96922d358d9953ba5fbd4d7b /sound/soc/soc-pcm.c
parent0a67a14f74ace85cbd5bd4f49595850db2ebe53c (diff)
ASoC: remove old trigger ordering method
All drivers switch to use generic trigger ordering method. Let's remove old method. Signed-off-by: Kuninori Morimoto <kuninori.morimoto.gx@renesas.com> Link: https://lore.kernel.org/r/87legufnyy.wl-kuninori.morimoto.gx@renesas.com Signed-off-by: Mark Brown <broonie@kernel.org>
Diffstat (limited to 'sound/soc/soc-pcm.c')
-rw-r--r--sound/soc/soc-pcm.c10
1 files changed, 0 insertions, 10 deletions
diff --git a/sound/soc/soc-pcm.c b/sound/soc/soc-pcm.c
index a10c928debe3..fd45a7433c24 100644
--- a/sound/soc/soc-pcm.c
+++ b/sound/soc/soc-pcm.c
@@ -1111,16 +1111,6 @@ static int soc_pcm_trigger(struct snd_pcm_substream *substream, int cmd)
stop < 0 || stop >= SND_SOC_TRIGGER_ORDER_MAX)
return -EINVAL;
- /* REMOVE ME */
- for_each_rtd_components(rtd, i, component) {
- if (component->driver->start_dma_last) {
- start = SND_SOC_TRIGGER_ORDER_LDC;
- break;
- }
- }
- if (rtd->dai_link->stop_dma_first)
- stop = SND_SOC_TRIGGER_ORDER_LDC;
-
/*
* START
*/