From mboxrd@z Thu Jan 1 00:00:00 1970 From: Kuninori Morimoto Subject: [PATCH 0/3] ASoC: soc-core: use more generic method to find platform Date: Thu, 6 Sep 2018 03:05:01 +0000 Message-ID: <87a7ovbadh.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 9BB79267657 for ; Thu, 6 Sep 2018 05:05:05 +0200 (CEST) Received: from relmlii1.idc.renesas.com (relmlii1.idc.renesas.com [10.200.68.65]) by relmlir2.idc.renesas.com (Postfix) with ESMTP id 8EA556D288 for ; Thu, 6 Sep 2018 12:05:02 +0900 (JST) 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: Linux-ALSA List-Id: alsa-devel@alsa-project.org Hi Mark 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 (3): ASoC: soc-core: manage platform name under snd_soc_init_platform() ASoC: soc-core: add snd_soc_find_component() ASoC: soc-core: find platform by using snd_soc_find_component() sound/soc/soc-core.c | 84 +++++++++++++++++++++++++++------------------------- 1 file changed, 43 insertions(+), 41 deletions(-) -- 2.7.4