[PATCH v2 0/2] ASoC: soc-core: update dai_link init

From: Jerome Brunet
Date: Thu Jun 27 2019 - 08:14:02 EST


My initial goal with this patchset was to allow a dai_link to have no
no platform component, instead of having dummy by default.

However, when rebasing, I discovered that Kuninori Morimoto had recently
done that in a different way :)

I am still submitting my change since it should allow multiple platform
components on a dai_link, which is one of the FIXME note in soc-core.

I have also added a check on the codecs component availability to align
on what was done for platforms and cpus

Change since v1 [0]:
* Fix registartion typo
* Rename dlc variable to codec/platform

[0]: https://lkml.kernel.org/r/20190626133617.25959-1-jbrunet@xxxxxxxxxxxx

Jerome Brunet (2):
ASoC: soc-core: defer card registration if codec component is missing
ASoC: soc-core: support dai_link with platforms_num != 1

include/sound/soc.h | 6 ++++
sound/soc/soc-core.c | 67 +++++++++++++++++++++-----------------------
2 files changed, 38 insertions(+), 35 deletions(-)

--
2.21.0