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.3 required=3.0 tests=DKIMWL_WL_HIGH,DKIM_SIGNED, DKIM_VALID,HEADER_FROM_DIFFERENT_DOMAINS,MAILING_LIST_MULTI,SPF_HELO_NONE, SPF_PASS,URIBL_BLOCKED,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 814E7C54FCB for ; Thu, 23 Apr 2020 15:33:21 +0000 (UTC) Received: from bombadil.infradead.org (bombadil.infradead.org [198.137.202.133]) (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 5055C2071E for ; Thu, 23 Apr 2020 15:33:21 +0000 (UTC) Authentication-Results: mail.kernel.org; dkim=pass (2048-bit key) header.d=lists.infradead.org header.i=@lists.infradead.org header.b="FBnYXZqR" DMARC-Filter: OpenDMARC Filter v1.3.2 mail.kernel.org 5055C2071E Authentication-Results: mail.kernel.org; dmarc=fail (p=none dis=none) header.from=linux.intel.com Authentication-Results: mail.kernel.org; spf=none smtp.mailfrom=linux-arm-kernel-bounces+infradead-linux-arm-kernel=archiver.kernel.org@lists.infradead.org DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lists.infradead.org; s=bombadil.20170209; h=Sender: Content-Transfer-Encoding:Content-Type:Cc:List-Subscribe:List-Help:List-Post: List-Archive:List-Unsubscribe:List-Id:Mime-Version:References:In-Reply-To: Date:To:From:Subject:Message-ID:Reply-To:Content-ID:Content-Description: Resent-Date:Resent-From:Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID: List-Owner; bh=fZ3J6hXZO82dBhcwbY70Stk9TD3Us4+Fq0cM4dFfDXY=; b=FBnYXZqR4+QuKI 3+fC4Gq+nYb3UnPh4F97D9wlNtQovyWncOIE+Ieu/C7ZfXfIAL8wZw0ljL1VpDwVIbAocjEZ8rUO6 YiIrTP8+BV1Qie+96jPofW4q5p7JTCgO1Jp8Taei7DV9iBQIe5RgPEhG7OWrKrfdedoZpBSgWTLy0 3/hO50rmh7odcpN1swsbMm8X3KIYKEZJRNd/uZCaehlDl32D89h7pXdZkayfSAg9/Trp/n08KQ0wA rSlgCevMewTKuVZxJf1L3zwFwlcaEaSdIv5EOu6I/qWjZKxW+dw/vYRcV8QzXXMIRqxnC+mD1nb8M fi63UPVyZMTgcWE+yF3w==; Received: from localhost ([127.0.0.1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.92.3 #3 (Red Hat Linux)) id 1jRdqq-0007LI-4J; Thu, 23 Apr 2020 15:33:20 +0000 Received: from mga09.intel.com ([134.134.136.24]) by bombadil.infradead.org with esmtps (Exim 4.92.3 #3 (Red Hat Linux)) id 1jRdqn-00069d-2V; Thu, 23 Apr 2020 15:33:18 +0000 IronPort-SDR: 5RkV2OuEkDh6Yp7RLq0HzwZu9J+sJHPtYR08AnNM+MyII9HfATqfUsI0RcrraM8cNHPh430+k5 lHA0ZIwUzbgw== X-Amp-Result: SKIPPED(no attachment in message) X-Amp-File-Uploaded: False Received: from fmsmga006.fm.intel.com ([10.253.24.20]) by orsmga102.jf.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 23 Apr 2020 08:31:14 -0700 IronPort-SDR: /GFKe82XVmh4+0BRn8SZTtvwp+0urUa1LNzYA81wW4ZorQZKkqcLM/YAsj+z0JsywQAuhavM1S QNjLFpn+IVdg== X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.73,307,1583222400"; d="scan'208";a="457539017" Received: from monjedli-mobl2.amr.corp.intel.com ([10.254.190.100]) by fmsmga006.fm.intel.com with ESMTP; 23 Apr 2020 08:31:14 -0700 Message-ID: <6d04d1bdff164a31d41757948cb3dd76144c0b66.camel@linux.intel.com> Subject: Re: [PATCH 0/4] ASoC:: don't use snd_soc_rtdcom_lookup() From: Ranjani Sridharan To: Mark Brown Date: Thu, 23 Apr 2020 08:31:14 -0700 In-Reply-To: <20200423105317.GE4808@sirena.org.uk> References: <87d080unyx.wl-kuninori.morimoto.gx@renesas.com> <874ktbuq4j.wl-kuninori.morimoto.gx@renesas.com> <20200423105317.GE4808@sirena.org.uk> X-Mailer: Evolution 3.28.5-0ubuntu0.18.04.1 Mime-Version: 1.0 X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20200423_083317_161109_3D977F4D X-CRM114-Status: GOOD ( 16.20 ) X-BeenThere: linux-arm-kernel@lists.infradead.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: Kate Stewart , Cezary Rojewski , Kuninori Morimoto , Jie Yang , alsa-devel@alsa-project.org, Liam Girdwood , Richard Fontana , Shunli Wang , YueHaibing , Pierre-Louis Bossart , Jiaxin Yu , linux-arm-kernel@lists.infradead.org, Vijendar Mukunda , Stephen Boyd , linux-mediatek@lists.infradead.org, Eason Yen , Matthias Brugger , Thomas Gleixner , Allison Randal , Takashi Iwai , Ravulapati Vishnu vardhan rao , Colin Ian King Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Sender: "linux-arm-kernel" Errors-To: linux-arm-kernel-bounces+infradead-linux-arm-kernel=archiver.kernel.org@lists.infradead.org On Thu, 2020-04-23 at 11:53 +0100, Mark Brown wrote: > On Wed, Apr 22, 2020 at 03:39:58PM -0700, Ranjani Sridharan wrote: > > On Thu, 2020-04-23 at 07:12 +0900, Kuninori Morimoto wrote: > > > I'm thinking removing lookup function is nice idea, > > > but don't feel pressure to it. > > > "Now you know it" is very enough for me. > > I am having a hard time visualizing a scenario where we would have > > more > > than one platform component. And even if we did, I'd think that the > > driver registering these components would make sure to not > > duplicate > > the driver names. Of course, we dont really check if thats really > > the > > case. > > The only use case I can think of is a link where there's a CPU on > both > ends for some reason. > > > Do you think it makes sense to add that check when registering a > > component? If we do that, then keeping snd_soc_rtdcom_lookup() > > might > > not be such a bad idea. > > Yeah. Thanks, Mark. Let me send a patch to handle this check in the core. Thanks, Ranjani _______________________________________________ linux-arm-kernel mailing list linux-arm-kernel@lists.infradead.org http://lists.infradead.org/mailman/listinfo/linux-arm-kernel