Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux

ASoC: Document snd-soc-dummy-dai purpose

Signed-off-by: Anatol Pomozov <anatol.pomozov@gmail.com>
Signed-off-by: Mark Brown <broonie@kernel.org>

authored by

Anatol Pomozov and committed by
Mark Brown
d76f4198 bc0195aa

+9
+9
sound/soc/soc-utils.c
··· 101 101 SNDRV_PCM_FMTBIT_S32_LE | \ 102 102 SNDRV_PCM_FMTBIT_U32_LE | \ 103 103 SNDRV_PCM_FMTBIT_IEC958_SUBFRAME_LE) 104 + /* 105 + * The dummy CODEC is only meant to be used in situations where there is no 106 + * actual hardware. 107 + * 108 + * If there is actual hardware even if it does not have a control bus 109 + * the hardware will still have constraints like supported samplerates, etc. 110 + * which should be modelled. And the data flow graph also should be modelled 111 + * using DAPM. 112 + */ 104 113 static struct snd_soc_dai_driver dummy_dai = { 105 114 .name = "snd-soc-dummy-dai", 106 115 .playback = {