[alsa-devel] [PATCH 0/2][RFC] ASoC: soc-core: modern style dai_link control

Kuninori Morimoto kuninori.morimoto.gx at renesas.com
Wed Jan 30 03:04:32 CET 2019


Hi Mark

These are [RFC] patches which adds new rule for modern style dai_link.
Many sound are using CPU component as Platform component, and then
it has below settings on legacy style dai_link

	dai_link->platform_of_node = dai_link->cpu_of_node

But, this duplicated component will be just ignored because
it is already selected when CPU component binding.
We want to allow "no Platform" on modern style dai_link.

And, current legacy style dai_link allows no Platform settings, then,
soc-core will select snd-soc-dummy platform for it automatically.
In modern style, we need to have CPU/Codec/Platform as array/pointer style.
Thus, this kind of "implicit" selection will be just un-understandable.

These 2 patches adds new rule for modern style, and have no effect
to legacy style.
But, I can't test for *all* board/situation.
Thus, I added [RFC] for these.

Kuninori Morimoto (2):
  ASoC: soc-core: allow no Platform on dai_link
  ASoC: soc-core: no more implicit snd-soc-dummy platform on modern dai_link

 include/sound/soc.h                   |  2 +-
 sound/soc/generic/simple-card-utils.c |  4 ++
 sound/soc/soc-core.c                  | 80 ++++++++++++++++++++++-------------
 3 files changed, 56 insertions(+), 30 deletions(-)

-- 
2.7.4



More information about the Alsa-devel mailing list