From mboxrd@z Thu Jan 1 00:00:00 1970 From: Kuninori Morimoto Subject: [PATCH 0/2] ASoC: soc-core: adjust platform for new style Date: Tue, 11 Sep 2018 06:50:31 +0000 Message-ID: <8736ug5yb7.wl-kuninori.morimoto.gx@renesas.com> Mime-Version: 1.0 (generated by SEMI-EPG 1.14.7 - "Harue") Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Return-path: Received: from relmlie3.idc.renesas.com (relmlor4.renesas.com [210.160.252.174]) by alsa0.perex.cz (Postfix) with ESMTP id 4AFED2673F4 for ; Tue, 11 Sep 2018 08:50:34 +0200 (CEST) List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: alsa-devel-bounces@alsa-project.org Sender: alsa-devel-bounces@alsa-project.org To: Mark Brown Cc: Linux-ALSA List-Id: alsa-devel@alsa-project.org Hi Mark These are v2 of "ASoC: soc-core: use more generic method to find platform" but, renamed patch series naming. v1 patch set had bug under DPCM which can't probe sound card. The cause was "platform name" management and "component" finding loop. These patch set solved this issue. And then, patch set became reduced Now, ALSA SoC is using snd_soc_dai_link_component for platform instead of legacy style (= platform_name/platform_of_node/platform). OTOH, CPU/Codec are finding its DAI by using common snd_soc_find_dai() function which uses snd_soc_dai_link_component. Then, of course, we want to use same style for platform. These patch do it. Kuninori Morimoto (2): ASoC: soc-core: manage platform name under snd_soc_init_platform() ASoC: soc-core: add snd_soc_is_matching_component() sound/soc/soc-core.c | 73 +++++++++++++++++++++++++++------------------------- 1 file changed, 38 insertions(+), 35 deletions(-) -- 2.7.4