[alsa-devel] [PATCH 0/2] ASoC: soc-core: adjust platform for new style

Kuninori Morimoto kuninori.morimoto.gx at renesas.com
Tue Sep 11 08:50:31 CEST 2018


Hi Mark

These are v2 of
"ASoC: soc-core: use more generic method to find platform"
but, renamed patch series naming.

v1 patch set had bug under DPCM which can't probe sound card.
The cause was "platform name" management and "component" finding loop.
These patch set solved this issue.
And then, patch set became reduced

Now, ALSA SoC is using snd_soc_dai_link_component for platform
instead of legacy style (= platform_name/platform_of_node/platform).

OTOH, CPU/Codec are finding its DAI by using common snd_soc_find_dai()
function which uses snd_soc_dai_link_component.
Then, of course, we want to use same style for platform.

These patch do it.

Kuninori Morimoto (2):
  ASoC: soc-core: manage platform name under snd_soc_init_platform()
  ASoC: soc-core: add snd_soc_is_matching_component()

 sound/soc/soc-core.c | 73 +++++++++++++++++++++++++++-------------------------
 1 file changed, 38 insertions(+), 35 deletions(-)

-- 
2.7.4



More information about the Alsa-devel mailing list