mirror of
https://github.com/tbsdtv/linux_media.git
synced 2025-07-23 12:43:29 +02:00
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>
This commit is contained in:
committed by
Mark Brown
parent
0a67a14f74
commit
099770e2da
@@ -199,8 +199,6 @@ struct snd_soc_component_driver {
|
|||||||
bool use_dai_pcm_id; /* use DAI link PCM ID as PCM device number */
|
bool use_dai_pcm_id; /* use DAI link PCM ID as PCM device number */
|
||||||
int be_pcm_base; /* base device ID for all BE PCMs */
|
int be_pcm_base; /* base device ID for all BE PCMs */
|
||||||
|
|
||||||
unsigned int start_dma_last;
|
|
||||||
|
|
||||||
#ifdef CONFIG_DEBUG_FS
|
#ifdef CONFIG_DEBUG_FS
|
||||||
const char *debugfs_prefix;
|
const char *debugfs_prefix;
|
||||||
#endif
|
#endif
|
||||||
|
@@ -762,12 +762,6 @@ struct snd_soc_dai_link {
|
|||||||
/* Do not create a PCM for this DAI link (Backend link) */
|
/* Do not create a PCM for this DAI link (Backend link) */
|
||||||
unsigned int ignore:1;
|
unsigned int ignore:1;
|
||||||
|
|
||||||
/* This flag will reorder stop sequence. By enabling this flag
|
|
||||||
* DMA controller stop sequence will be invoked first followed by
|
|
||||||
* CPU DAI driver stop sequence
|
|
||||||
*/
|
|
||||||
unsigned int stop_dma_first:1;
|
|
||||||
|
|
||||||
#ifdef CONFIG_SND_SOC_TOPOLOGY
|
#ifdef CONFIG_SND_SOC_TOPOLOGY
|
||||||
struct snd_soc_dobj dobj; /* For topology */
|
struct snd_soc_dobj dobj; /* For topology */
|
||||||
#endif
|
#endif
|
||||||
|
@@ -1111,16 +1111,6 @@ static int soc_pcm_trigger(struct snd_pcm_substream *substream, int cmd)
|
|||||||
stop < 0 || stop >= SND_SOC_TRIGGER_ORDER_MAX)
|
stop < 0 || stop >= SND_SOC_TRIGGER_ORDER_MAX)
|
||||||
return -EINVAL;
|
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
|
* START
|
||||||
*/
|
*/
|
||||||
|
Reference in New Issue
Block a user