[alsa-devel] [PATCH 0/3] ASoC: soc-core: use more generic method to find platform

Kuninori Morimoto kuninori.morimoto.gx at renesas.com
Thu Sep 6 05:05:01 CEST 2018


Hi Mark

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 (3):
  ASoC: soc-core: manage platform name under snd_soc_init_platform()
  ASoC: soc-core: add snd_soc_find_component()
  ASoC: soc-core: find platform by using snd_soc_find_component()

 sound/soc/soc-core.c | 84 +++++++++++++++++++++++++++-------------------------
 1 file changed, 43 insertions(+), 41 deletions(-)

-- 
2.7.4



More information about the Alsa-devel mailing list