mbox series

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

Message ID 87a7ovbadh.wl-kuninori.morimoto.gx@renesas.com (mailing list archive)
Headers show
Series ASoC: soc-core: use more generic method to find platform | expand

Message

Kuninori Morimoto Sept. 6, 2018, 3:05 a.m. UTC
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(-)

Comments

Kuninori Morimoto Sept. 11, 2018, 1:56 a.m. UTC | #1
Hi Mark

I noticed that this series seems have bug under DPCM.
I will fixup it, and re-post again.

> 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
>