All of lore.kernel.org
 help / color / mirror / Atom feed
* [PATCH] ASoC: Document snd-soc-dummy-dai purpose
@ 2015-08-31 15:24 Anatol Pomozov
  2015-08-31 15:41 ` Applied "ASoC: Document snd-soc-dummy-dai purpose" to the asoc tree Mark Brown
  0 siblings, 1 reply; 2+ messages in thread
From: Anatol Pomozov @ 2015-08-31 15:24 UTC (permalink / raw)
  To: alsa-devel, broonie; +Cc: Anatol Pomozov

Signed-off-by: Anatol Pomozov <anatol.pomozov@gmail.com>
---
 sound/soc/soc-utils.c | 9 +++++++++
 1 file changed, 9 insertions(+)

diff --git a/sound/soc/soc-utils.c b/sound/soc/soc-utils.c
index 362c69a..53dd085 100644
--- a/sound/soc/soc-utils.c
+++ b/sound/soc/soc-utils.c
@@ -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 = {
-- 
2.5.0.457.gab17608

^ permalink raw reply related	[flat|nested] 2+ messages in thread

* Applied "ASoC: Document snd-soc-dummy-dai purpose" to the asoc tree
  2015-08-31 15:24 [PATCH] ASoC: Document snd-soc-dummy-dai purpose Anatol Pomozov
@ 2015-08-31 15:41 ` Mark Brown
  0 siblings, 0 replies; 2+ messages in thread
From: Mark Brown @ 2015-08-31 15:41 UTC (permalink / raw)
  To: Anatol Pomozov, Mark Brown; +Cc: alsa-devel

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

>From d76f41982f2fc88492efd96c7c3178044f32e125 Mon Sep 17 00:00:00 2001
From: Anatol Pomozov <anatol.pomozov@gmail.com>
Date: Mon, 31 Aug 2015 08:24:23 -0700
Subject: [PATCH] ASoC: Document snd-soc-dummy-dai purpose

Signed-off-by: Anatol Pomozov <anatol.pomozov@gmail.com>
Signed-off-by: Mark Brown <broonie@kernel.org>
---
 sound/soc/soc-utils.c | 9 +++++++++
 1 file changed, 9 insertions(+)

diff --git a/sound/soc/soc-utils.c b/sound/soc/soc-utils.c
index 362c69a..53dd085 100644
--- a/sound/soc/soc-utils.c
+++ b/sound/soc/soc-utils.c
@@ -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 = {
-- 
2.5.0

^ permalink raw reply related	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2015-08-31 15:42 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2015-08-31 15:24 [PATCH] ASoC: Document snd-soc-dummy-dai purpose Anatol Pomozov
2015-08-31 15:41 ` Applied "ASoC: Document snd-soc-dummy-dai purpose" to the asoc tree Mark Brown

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.