···159159 int remove_order;160160161161 /*162162+ * soc_pcm_trigger() start/stop sequence.163163+ * see also164164+ * snd_soc_dai_link165165+ * soc_pcm_trigger()166166+ */167167+ enum snd_soc_trigger_order trigger_start;168168+ enum snd_soc_trigger_order trigger_stop;169169+170170+ /*162171 * signal if the module handling the component should not be removed163172 * if a pcm is open. Setting this would prevent the module164173 * refcount being incremented in probe() but allow it be incremented···198189 struct snd_pcm_hw_params *params);199190 bool use_dai_pcm_id; /* use DAI link PCM ID as PCM device number */200191 int be_pcm_base; /* base device ID for all BE PCMs */201201-202202- unsigned int start_dma_last;203192204193#ifdef CONFIG_DEBUG_FS205194 const char *debugfs_prefix;
+17-6
include/sound/soc.h
···607607int snd_soc_put_strobe(struct snd_kcontrol *kcontrol,608608 struct snd_ctl_elem_value *ucontrol);609609610610+enum snd_soc_trigger_order {611611+ /* start stop */612612+ SND_SOC_TRIGGER_ORDER_DEFAULT = 0, /* Link->Component->DAI DAI->Component->Link */613613+ SND_SOC_TRIGGER_ORDER_LDC, /* Link->DAI->Component Component->DAI->Link */614614+615615+ SND_SOC_TRIGGER_ORDER_MAX,616616+};617617+610618/* SoC PCM stream information */611619struct snd_soc_pcm_stream {612620 const char *stream_name;···721713 const struct snd_soc_ops *ops;722714 const struct snd_soc_compr_ops *compr_ops;723715716716+ /*717717+ * soc_pcm_trigger() start/stop sequence.718718+ * see also719719+ * snd_soc_component_driver720720+ * soc_pcm_trigger()721721+ */722722+ enum snd_soc_trigger_order trigger_start;723723+ enum snd_soc_trigger_order trigger_stop;724724+724725 /* Mark this pcm with non atomic ops */725726 unsigned int nonatomic:1;726727···767750768751 /* Do not create a PCM for this DAI link (Backend link) */769752 unsigned int ignore:1;770770-771771- /* This flag will reorder stop sequence. By enabling this flag772772- * DMA controller stop sequence will be invoked first followed by773773- * CPU DAI driver stop sequence774774- */775775- unsigned int stop_dma_first:1;776753777754#ifdef CONFIG_SND_SOC_TOPOLOGY778755 struct snd_soc_dobj dobj; /* For topology */