Hi Mark, Lars
This is 3rd and formal version of codec <-> component merge patch. I know that Mark sent devm_snd_soc_register_component() patch, but I noticed that codec can't use it since it uses __snd_soc_register_component(). So, this patch still using above, and I added missing snd_soc_unregister_component()
And this patch keeps all codec "as-is" now, since "component" doesn't check/care NULL name at this point.
Now, I created simple-card DT patch on my local environment. It is based on this patch, and new component :: of_xlate_get_dai_name. I will send it if this patch got positive response
Kuninori Morimoto (1): ASoC: snd_soc_codec includes snd_soc_component
include/sound/soc.h | 33 +++++---- sound/soc/soc-core.c | 202 ++++++++++++++++++++++++++++---------------------- 2 files changed, 131 insertions(+), 104 deletions(-)
Best regards --- Kuninori Morimoto