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

From: Jerome Brunet
Date: Wed Jun 26 2019 - 09:36:37 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

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 | 72 +++++++++++++++++++++-----------------------
2 files changed, 41 insertions(+), 37 deletions(-)

--
2.21.0