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

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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

_______________________________________________
Alsa-devel mailing list
Alsa-devel@xxxxxxxxxxxxxxxx
http://mailman.alsa-project.org/mailman/listinfo/alsa-devel



[Index of Archives]     [ALSA User]     [Linux Audio Users]     [Pulse Audio]     [Kernel Archive]     [Asterisk PBX]     [Photo Sharing]     [Linux Sound]     [Video 4 Linux]     [Gimp]     [Yosemite News]

  Powered by Linux