[alsa-devel] [PATCH 0/53] ASoC: switch over to use snd_soc_register_component()

Kuninori Morimoto kuninori.morimoto.gx at renesas.com
Tue Mar 19 01:32:53 CET 2013


Hi Lars

> > These patches switch over to use snd_soc_register_component()
> > instead of snd_soc_register_dai[s]() on all drivers
> > Last patch moves snd_soc_[un]register_dai[s]() to non global function.
> > 
> > I could compile test on some of them, but couldn't for all drivers
> > 
> > These patches are based on asoc/topic/component branch
> >
> 
> Hi,
> 
> quite a few drivers use snd_soc_register_dai(), while
> snd_soc_register_component() uses snd_soc_register_dais().
> snd_soc_register_dai() uses fmt_single_name(), while snd_soc_register_dais()
> uses fmt_multiple_name() to create the name for the device. So for all
> drivers using snd_soc_register_dai() the name of the DAI is different now,
> which will break the name based matching of the dai link.

Thank you for pointing it.
I understand about this.

I think if snd_soc_register_component() can use propely
snd_soc_register_dai() and snd_soc_register_dais(),
this issue is solved ?

So, I send above patch as 1st.
Next, I re-send these "switch over" patch set if it was accepted.

Best regards
---
Kuninori Morimoto


More information about the Alsa-devel mailing list