Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit d76f4198 authored by Anatol Pomozov's avatar Anatol Pomozov Committed by Mark Brown
Browse files

ASoC: Document snd-soc-dummy-dai purpose

parent bc0195aa
Loading
Loading
Loading
Loading
+9 −0
Original line number Diff line number Diff line
@@ -101,6 +101,15 @@ static struct snd_soc_codec_driver dummy_codec;
			SNDRV_PCM_FMTBIT_S32_LE | \
			SNDRV_PCM_FMTBIT_U32_LE | \
			SNDRV_PCM_FMTBIT_IEC958_SUBFRAME_LE)
/*
 * The dummy CODEC is only meant to be used in situations where there is no
 * actual hardware.
 *
 * If there is actual hardware even if it does not have a control bus
 * the hardware will still have constraints like supported samplerates, etc.
 * which should be modelled. And the data flow graph also should be modelled
 * using DAPM.
 */
static struct snd_soc_dai_driver dummy_dai = {
	.name = "snd-soc-dummy-dai",
	.playback = {