ASoC: Document snd-soc-dummy-dai purpose
PATCH 1/1 ASoC: Document snd-soc-dummy-dai purpose
--- sound/soc/soc-utils.c | 9 +++++++++ 1 file changed, 9 insertions(+)
sound/soc/soc-utils.c +9 -0
@@ -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 = {
Signature · 1 line
2.5.0.457.gab17608
Mark Brown
maintainerApplied "ASoC: Document snd-soc-dummy-dai purpose" to the asoc tree
The patch
ASoC: Document snd-soc-dummy-dai purpose
has been applied to the asoc tree at
git://git.kernel.org/pub/scm/linux/kernel/git/broonie/sound.git
All being well this means that it will be integrated into the linux-next tree (usually sometime in the next 24 hours) and sent to Linus during the next merge window (or sooner if it is a bug fix), however if problems are discovered then the patch may be dropped or reverted.
You may get further e-mails resulting from automated or manual testing and review of the tree, please engage with people reporting problems and send followup patches addressing any issues that are reported if needed.
If any updates are required or you are submitting further changes they should be sent as incremental updates against current git, existing patches will not be replaced.
Please add any relevant lists and maintainers to the CCs when replying to this mail.
Thanks,
Mark
Quoted 1 line
From
d76f41982f2fc88492efd96c7c3178044f32e125Mon Sep 17 00:00:00 2001
From: Anatol Pomozov <[email protected]>
Date: Mon, 31 Aug 2015 08:24:23 -0700
Subject: [PATCH] ASoC: Document snd-soc-dummy-dai purpose
--- sound/soc/soc-utils.c | 9 +++++++++ 1 file changed, 9 insertions(+)
sound/soc/soc-utils.c +9 -0
@@ -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 = {
Signature · 1 line
2.5.0