From: Jerome Brunet Subject: [PATCH v2 0/2] ASoC: soc-core: update dai_link init Date: Thu, 27 Jun 2019 14:13:48 +0200 Message-ID: <20190627121350.21027-1-jbrunet@baylibre.com> Mime-Version: 1.0 Content-Transfer-Encoding: 8bit Return-path: Sender: linux-kernel-owner@vger.kernel.org To: Mark Brown , Liam Girdwood , Kevin Hilman Cc: Jerome Brunet , alsa-devel@alsa-project.org, devicetree@vger.kernel.org, linux-kernel@vger.kernel.org, linux-amlogic@lists.infradead.org List-Id: alsa-devel@alsa-project.org 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@baylibre.com 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