All of lore.kernel.org
 help / color / mirror / Atom feed
* [PATCH 0/7] ASoC: Merge CPU/Codec DAIs
@ 2020-03-11  1:06 Kuninori Morimoto
  2020-03-11  1:07 ` [PATCH 1/7] ASoC: soc-core: " Kuninori Morimoto
                   ` (7 more replies)
  0 siblings, 8 replies; 19+ messages in thread
From: Kuninori Morimoto @ 2020-03-11  1:06 UTC (permalink / raw)
  To: Mark Brown; +Cc: Linux-ALSA


Hi Mark

Current ALSA SoC has CPU/Codec categorized DAIs.
But it will be no longer good much for modern device.

Currently, rtd has both CPU/Codec DAIs array.

	rtd->cpu_dais   = [][][][][][][][][]
	rtd->codec_dais = [][][][][][][][][]

This patch merges these, like below.
It still keeps rtd->cpu_dais, rtd->codec_dais

	rtd->dais = [][][][][][][][][][][][][][][][][][]
	            ^cpu_dais         ^codec_dais
	            |--- num_cpus ---|--- num_codecs --|

After this merging, we can merge for_each_rtd_cpu/codec_dais().

-	for_each_rtd_cpu_dais() {
-		...
-	}
-	for_each_rtd_codec_dais() {
-		...
-	}
+	for_each_rtd_dais() {
+		...
+	}


Kuninori Morimoto (7):
  ASoC: soc-core: Merge CPU/Codec DAIs
  ASoC: soc-core: Merge for_each_rtd_cpu/codec_dais()
  ASoC: soc-dapm: Merge for_each_rtd_cpu/codec_dais()
  ASoC: soc-pcm: Merge for_each_rtd_cpu/codec_dais()
  ASoC: soc-core: Merge CPU/Codec for soc_dai_pcm_new()
  ASoC: soc-pcm: Merge CPU/Codec MSB at soc_pcm_apply_msb()
  ASoC: soc-pcm: Merge CPU/Codec at soc_pcm_pointer()

 include/sound/soc.h  |   7 +-
 sound/soc/soc-core.c |  66 +++-----
 sound/soc/soc-dapm.c |   9 +-
 sound/soc/soc-pcm.c  | 367 +++++++++++--------------------------------
 4 files changed, 123 insertions(+), 326 deletions(-)

-- 
2.17.1


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

end of thread, other threads:[~2020-03-12  1:18 UTC | newest]

Thread overview: 19+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2020-03-11  1:06 [PATCH 0/7] ASoC: Merge CPU/Codec DAIs Kuninori Morimoto
2020-03-11  1:07 ` [PATCH 1/7] ASoC: soc-core: " Kuninori Morimoto
2020-03-11  1:07 ` [PATCH 2/7] ASoC: soc-core: Merge for_each_rtd_cpu/codec_dais() Kuninori Morimoto
2020-03-11  1:07 ` [PATCH 3/7] ASoC: soc-dapm: " Kuninori Morimoto
2020-03-11  1:27   ` Sridharan, Ranjani
2020-03-11  1:30     ` Kuninori Morimoto
2020-03-11  1:07 ` [PATCH 4/7] ASoC: soc-pcm: " Kuninori Morimoto
2020-03-11  1:30   ` Sridharan, Ranjani
2020-03-11  2:06     ` Kuninori Morimoto
2020-03-11  1:07 ` [PATCH 5/7] ASoC: soc-core: Merge CPU/Codec for soc_dai_pcm_new() Kuninori Morimoto
2020-03-11  1:07 ` [PATCH 6/7] ASoC: soc-pcm: Merge CPU/Codec MSB at soc_pcm_apply_msb() Kuninori Morimoto
2020-03-11  1:07 ` [PATCH 7/7] ASoC: soc-pcm: Merge CPU/Codec at soc_pcm_pointer() Kuninori Morimoto
2020-03-11  2:00   ` Pierre-Louis Bossart
2020-03-11  2:39     ` Kuninori Morimoto
2020-03-11  1:51 ` [PATCH 0/7] ASoC: Merge CPU/Codec DAIs Pierre-Louis Bossart
2020-03-11  2:27   ` Kuninori Morimoto
2020-03-11 14:36     ` Pierre-Louis Bossart
2020-03-11 17:10       ` Mark Brown
2020-03-12  1:17         ` Kuninori Morimoto

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.