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 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 smtp.lore.kernel.org (Postfix) with ESMTPS id 835DCC05027 for ; Fri, 20 Jan 2023 11:15:52 +0000 (UTC) Received: from alsa1.perex.cz (alsa1.perex.cz [207.180.221.201]) (using TLSv1.2 with cipher ADH-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by alsa0.perex.cz (Postfix) with ESMTPS id 4604C3152; Fri, 20 Jan 2023 12:15:00 +0100 (CET) DKIM-Filter: OpenDKIM Filter v2.11.0 alsa0.perex.cz 4604C3152 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=alsa-project.org; s=default; t=1674213350; bh=Yaw2tM56JQS92fC356FOoQV8Pjjv88Bk0d+DECU+hEo=; h=Date:From:To:Subject:References:In-Reply-To:List-Id: List-Unsubscribe:List-Archive:List-Post:List-Help:List-Subscribe: Cc:From; b=ATwGigMPQyAXo8zyLSpva1a1Kep5UVk9qBnT0dG3blYn2g5NfpQeDjjNxzv/7U/rJ IL2JmzipDR7oj7WDVhuJDOfwdQMzKVo/9gQSaUexxDrpAPTNP3kBmdfOchRcyRyDmK yyaTVTBFkYSnJeQj07zWCKtX5RVLewK9AuDaEcpg= Received: from alsa1.perex.cz (localhost.localdomain [127.0.0.1]) by alsa1.perex.cz (Postfix) with ESMTP id 02F6BF80482; Fri, 20 Jan 2023 12:15:00 +0100 (CET) Received: by alsa1.perex.cz (Postfix, from userid 50401) id C0927F8024D; Fri, 20 Jan 2023 12:14:58 +0100 (CET) Received: from mx0b-001ae601.pphosted.com (mx0a-001ae601.pphosted.com [67.231.149.25]) (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 EA78BF8024D for ; Fri, 20 Jan 2023 12:14:56 +0100 (CET) DKIM-Filter: OpenDKIM Filter v2.11.0 alsa1.perex.cz EA78BF8024D Authentication-Results: alsa1.perex.cz; dkim=pass (2048-bit key, unprotected) header.d=cirrus.com header.i=@cirrus.com header.a=rsa-sha256 header.s=PODMain02222019 header.b=UwO5gGNo Received: from pps.filterd (m0077473.ppops.net [127.0.0.1]) by mx0a-001ae601.pphosted.com (8.17.1.19/8.17.1.19) with ESMTP id 30K8xNwI025055; Fri, 20 Jan 2023 05:14:55 -0600 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=cirrus.com; h=date : from : to : cc : subject : message-id : references : mime-version : content-type : in-reply-to; s=PODMain02222019; bh=TwafcevREyjuS+Zysqi1t7j6A9/iaRF69qRsZbWxvgo=; b=UwO5gGNoiPKd4/9eWfR4kaDfXEfusbRkWQIyYL6cZd09I2jJ1XX9L5qO276/I2Zj6w4O XDLw9yjRD3ZTroGk/Kob5IGqnnFMXEzD5EnMD7aGGFbsuGDvlVxzEQqDLcg57Ca6TLKa A4shfjSmEMqOA7SYqOGTo3/P9KbXisUR19jsM3USCb2xT5nL26ythoC1jAjmLXwCfbNO UQv9OU1LwrOK9cqK9+t85B3totZzpb/iDGOOWZA2PGDRp88VU/uwJsJdp7POvdDo0yn8 MTQ0YDduWnfp6Sjm7JUMAN5am0G/piquEEKv0cHXp3drRjf6MySCwHfNk6h6SZ1uT7JQ ng== Received: from ediex02.ad.cirrus.com ([84.19.233.68]) by mx0a-001ae601.pphosted.com (PPS) with ESMTPS id 3n3tp6hufy-1 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=NOT); Fri, 20 Jan 2023 05:14:54 -0600 Received: from ediex02.ad.cirrus.com (198.61.84.81) by ediex02.ad.cirrus.com (198.61.84.81) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.2.1118.21; Fri, 20 Jan 2023 05:14:52 -0600 Received: from ediswmail.ad.cirrus.com (198.61.86.93) by anon-ediex02.ad.cirrus.com (198.61.84.81) with Microsoft SMTP Server id 15.2.1118.7 via Frontend Transport; Fri, 20 Jan 2023 05:14:52 -0600 Received: from ediswmail.ad.cirrus.com (ediswmail.ad.cirrus.com [198.61.86.93]) by ediswmail.ad.cirrus.com (Postfix) with ESMTP id C9AD511CB; Fri, 20 Jan 2023 11:14:52 +0000 (UTC) Date: Fri, 20 Jan 2023 11:14:52 +0000 From: Charles Keepax To: Kuninori Morimoto Subject: Re: [PATCH 05/25] ASoC: soc.h: add snd_soc_card_is_instantiated() helper Message-ID: <20230120111452.GU36097@ediswmail.ad.cirrus.com> References: <87a62dlmmn.wl-kuninori.morimoto.gx@renesas.com> <873585lmdn.wl-kuninori.morimoto.gx@renesas.com> MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Disposition: inline In-Reply-To: <873585lmdn.wl-kuninori.morimoto.gx@renesas.com> User-Agent: Mutt/1.5.21 (2010-09-15) X-Proofpoint-ORIG-GUID: e0lvG-MXvJAcupN5qkmMQJlIiyi2oBok X-Proofpoint-GUID: e0lvG-MXvJAcupN5qkmMQJlIiyi2oBok X-Proofpoint-Spam-Reason: safe X-BeenThere: alsa-devel@alsa-project.org X-Mailman-Version: 2.1.29 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: , Cc: Jiapeng Chong , Linux-ALSA , Heiko Stuebner , Kai Vehmanen , Daniel Baluta , Pierre-Louis Bossart , Jonathan Hunter , Nicolas Frattaroli , Mark Brown , Thierry Reding , Bard Liao , Colin Ian King Errors-To: alsa-devel-bounces@alsa-project.org Sender: "Alsa-devel" On Fri, Jan 20, 2023 at 07:02:13AM +0000, Kuninori Morimoto wrote: > > From: Kuninori Morimoto > > ASoC framework/driver checks whether card was instantiated every > where. Then, it should check card pointer too in such case. > This patch adds snd_soc_card_is_instantiated() for it. > > Signed-off-by: Kuninori Morimoto > --- Reviewed-by: Charles Keepax Thanks, Charles