mbox series

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

Message ID 20190626133617.25959-1-jbrunet@baylibre.com (mailing list archive)
Headers show
Series ASoC: soc-core: update dai_link init | expand

Message

Jerome Brunet June 26, 2019, 1:36 p.m. UTC
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(-)