File tree Expand file tree Collapse file tree 1 file changed +7
-3
lines changed
Expand file tree Collapse file tree 1 file changed +7
-3
lines changed Original file line number Diff line number Diff line change @@ -450,8 +450,12 @@ static int ipc3_hda_dai_trigger(struct snd_pcm_substream *substream,
450450 return 0 ;
451451}
452452
453- static int ipc4_hda_link_dma_trigger (struct snd_pcm_substream * substream ,
454- int cmd , struct snd_soc_dai * dai )
453+ /*
454+ * In contrast to IPC3, the dai trigger in IPC4 mixes pipeline state changes
455+ * (over IPC channel) and DMA state change (direct host register changes).
456+ */
457+ static int ipc4_hda_dai_trigger (struct snd_pcm_substream * substream ,
458+ int cmd , struct snd_soc_dai * dai )
455459{
456460 struct hdac_ext_stream * hext_stream = snd_soc_dai_get_dma_data (dai , substream );
457461 struct snd_sof_dev * sdev = snd_soc_component_get_drvdata (dai -> component );
@@ -591,7 +595,7 @@ static int hda_dai_suspend(struct hdac_bus *bus)
591595static const struct snd_soc_dai_ops ipc4_hda_dai_ops = {
592596 .hw_params = hda_dai_hw_params ,
593597 .hw_free = hda_dai_hw_free ,
594- .trigger = ipc4_hda_link_dma_trigger ,
598+ .trigger = ipc4_hda_dai_trigger ,
595599 .prepare = hda_dai_prepare ,
596600};
597601
You can’t perform that action at this time.
0 commit comments