From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-2.2 required=3.0 tests=DKIM_SIGNED,DKIM_VALID, HEADER_FROM_DIFFERENT_DOMAINS,MAILING_LIST_MULTI,SPF_HELO_NONE,SPF_PASS, USER_AGENT_SANE_2 autolearn=no autolearn_force=no version=3.4.0 Received: from mail.kernel.org (mail.kernel.org [198.145.29.99]) by smtp.lore.kernel.org (Postfix) with ESMTP id 16B4BC38A30 for ; Wed, 22 Apr 2020 05:40:23 +0000 (UTC) Received: from alsa0.perex.cz (alsa0.perex.cz [77.48.224.243]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mail.kernel.org (Postfix) with ESMTPS id 8F41D20747 for ; Wed, 22 Apr 2020 05:40:22 +0000 (UTC) Authentication-Results: mail.kernel.org; dkim=pass (1024-bit key) header.d=alsa-project.org header.i=@alsa-project.org header.b="pJHNv2Dm" DMARC-Filter: OpenDMARC Filter v1.3.2 mail.kernel.org 8F41D20747 Authentication-Results: mail.kernel.org; dmarc=fail (p=none dis=none) header.from=linux.intel.com Authentication-Results: mail.kernel.org; spf=pass smtp.mailfrom=alsa-devel-bounces@alsa-project.org Received: from alsa1.perex.cz (alsa1.perex.cz [207.180.221.201]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by alsa0.perex.cz (Postfix) with ESMTPS id A288D16BD; Wed, 22 Apr 2020 07:39:30 +0200 (CEST) DKIM-Filter: OpenDKIM Filter v2.11.0 alsa0.perex.cz A288D16BD DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=alsa-project.org; s=default; t=1587534020; bh=JKETlKZJcO9KYYqRzTx2xXkW6HijHD4VpjJ+E2iJWw0=; h=Subject:From:To:Date:In-Reply-To:References:Cc:List-Id: List-Unsubscribe:List-Archive:List-Post:List-Help:List-Subscribe: From; b=pJHNv2DmR1VLsp44RB8hYH6XjlBUOerJzx+zpku6yP/SMxV8hhhgHLJJi+Mc19K7i G6QEBqojrEdLWlhQSfH/MZKF8eTX6TAzT+IiVtbonQ1GiMli6duxiiHWYtEajKmz/9 yKgpxn0rZ85BCcw5nKbpII4QHLfMeE23Fpuou5ks= Received: from alsa1.perex.cz (localhost.localdomain [127.0.0.1]) by alsa1.perex.cz (Postfix) with ESMTP id 1F66DF80142; Wed, 22 Apr 2020 07:39:30 +0200 (CEST) Received: by alsa1.perex.cz (Postfix, from userid 50401) id C272CF801D9; Wed, 22 Apr 2020 07:39:27 +0200 (CEST) Received: from mga05.intel.com (mga05.intel.com [192.55.52.43]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by alsa1.perex.cz (Postfix) with ESMTPS id CC4DDF80108 for ; Wed, 22 Apr 2020 07:39:18 +0200 (CEST) DKIM-Filter: OpenDKIM Filter v2.11.0 alsa1.perex.cz CC4DDF80108 IronPort-SDR: 9xN3bsDDcrWbQ0C6SXZxUfkXoNZcqaxe1/iipCoOEymmlwHEc04PMrt7eeSdLhJCkc8siL73n4 o2XTXWkC8KQA== X-Amp-Result: SKIPPED(no attachment in message) X-Amp-File-Uploaded: False Received: from fmsmga007.fm.intel.com ([10.253.24.52]) by fmsmga105.fm.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 21 Apr 2020 22:39:13 -0700 IronPort-SDR: AboEqZaXGpccJr0IPJJXmM82rMMNExbbsE3I1ZPkQSgGlgX+c/9qqnQGFz1kAYZ34LJHYfJEeA INzyAyN1iVBw== X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.72,412,1580803200"; d="scan'208";a="245882690" Received: from dtzimme-mobl.amr.corp.intel.com ([10.251.145.143]) by fmsmga007.fm.intel.com with ESMTP; 21 Apr 2020 22:39:13 -0700 Message-ID: Subject: Re: [PATCH 0/4] ASoC:: don't use snd_soc_rtdcom_lookup() From: Ranjani Sridharan To: Kuninori Morimoto , Mark Brown Date: Tue, 21 Apr 2020 22:39:13 -0700 In-Reply-To: <87d080unyx.wl-kuninori.morimoto.gx@renesas.com> References: <87d080unyx.wl-kuninori.morimoto.gx@renesas.com> Content-Type: text/plain; charset="UTF-8" X-Mailer: Evolution 3.28.5-0ubuntu0.18.04.1 Mime-Version: 1.0 Content-Transfer-Encoding: 7bit Cc: Kate Stewart , Takashi Iwai , Cezary Rojewski , Ravulapati Vishnu vardhan rao , YueHaibing , Eason Yen , Jie Yang , alsa-devel@alsa-project.org, Jiaxin Yu , Pierre-Louis Bossart , Liam Girdwood , Richard Fontana , linux-mediatek@lists.infradead.org, Shunli Wang , Allison Randal , Vijendar Mukunda , Matthias Brugger , Colin Ian King , Thomas Gleixner , Stephen Boyd , linux-arm-kernel@lists.infradead.org X-BeenThere: alsa-devel@alsa-project.org X-Mailman-Version: 2.1.15 Precedence: list List-Id: "Alsa-devel mailing list for ALSA developers - http://www.alsa-project.org" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: alsa-devel-bounces@alsa-project.org Sender: "Alsa-devel" On Wed, 2020-04-22 at 13:46 +0900, Kuninori Morimoto wrote: > Hi Mark > Cc related engineer > > These patches are tring to not to use snd_soc_rtdcom_lookup() > function > on each drivers as much as possible, because we might have same name > component under multi component situation. > It can't find correct component in such case. > > I tried to add new feature on each drivers to not to use it, > but I can't test. > Thus, these patches should get Acked-by or Tested-by from each > drivers > user/maintenor. Please test these. > > After these patches, Intel / SOF drivers are still using > snd_soc_rtdcom_lookup(). Because it is very complex, I couldn't try > not to use it. > If possible, each drivers should try to not use it, > and it should be removed from ASoC. Morimoti-san, For my education, I understand the concept of multi-cpu/codec components, but when or who would need multiple platform components? This would help me able to remove the snd_soc_rtdcom_lookup() call in SOF. Thanks, Ranjani