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=-13.5 required=3.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,HEADER_FROM_DIFFERENT_DOMAINS,MAILING_LIST_MULTI, MENTIONS_GIT_HOSTING,NICE_REPLY_A,SIGNED_OFF_BY,SPF_HELO_NONE,SPF_PASS, USER_AGENT_SANE_1 autolearn=unavailable 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 20EA0C433DF for ; Mon, 20 Jul 2020 15:31:40 +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 2D9ED22482 for ; Mon, 20 Jul 2020 15:31:38 +0000 (UTC) Authentication-Results: mail.kernel.org; dkim=pass (1024-bit key) header.d=alsa-project.org header.i=@alsa-project.org header.b="IJpMLVQp" DMARC-Filter: OpenDMARC Filter v1.3.2 mail.kernel.org 2D9ED22482 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 32CC2825; Mon, 20 Jul 2020 17:30:47 +0200 (CEST) DKIM-Filter: OpenDKIM Filter v2.11.0 alsa0.perex.cz 32CC2825 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=alsa-project.org; s=default; t=1595259097; bh=qMZWC/qkNfQ0MaOkT31qzEJaGXbpAeREngVoVyLuTGc=; h=Subject:To:References:From:Date:In-Reply-To:Cc:List-Id: List-Unsubscribe:List-Archive:List-Post:List-Help:List-Subscribe: From; b=IJpMLVQpY+2qPpOgQLiXIFQ8q1wt4rn6y9wEGRqUn5pJ7FMFOMUF9OCouyOJj2fLb 81aS8p5YUDJmw7fOJ9Z7uGjBvETcTvBxhuhZfjFhZWzyl69JFNh1N8bowdc8VzvzF9 qQh+SNw0AzBQmjIMI+ILAZ9/Q0eUhRRCYLUqe2K4= Received: from alsa1.perex.cz (localhost.localdomain [127.0.0.1]) by alsa1.perex.cz (Postfix) with ESMTP id A784EF800E0; Mon, 20 Jul 2020 17:30:46 +0200 (CEST) Received: by alsa1.perex.cz (Postfix, from userid 50401) id 71832F800F5; Mon, 20 Jul 2020 17:30:40 +0200 (CEST) Received: from mga07.intel.com (mga07.intel.com [134.134.136.100]) (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 2DEF2F800CE for ; Mon, 20 Jul 2020 17:30:28 +0200 (CEST) DKIM-Filter: OpenDKIM Filter v2.11.0 alsa1.perex.cz 2DEF2F800CE IronPort-SDR: E78pH+q6L9CZhLOEhxf1GQFXgtt3Ejiv+En4SHkEn36XJ4/QqdKd3R/ahtoEJSWJfTdy/Vtrrt wVB2zHL5jayQ== X-IronPort-AV: E=McAfee;i="6000,8403,9688"; a="214613584" X-IronPort-AV: E=Sophos;i="5.75,375,1589266800"; d="scan'208";a="214613584" X-Amp-Result: SKIPPED(no attachment in message) X-Amp-File-Uploaded: False Received: from fmsmga003.fm.intel.com ([10.253.24.29]) by orsmga105.jf.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 20 Jul 2020 08:30:24 -0700 IronPort-SDR: a9Gijm6II6E+qJMQohinNIcnU1FtDFMKcD2Ri2fnzMJ6UxPUr6S9PptB1cd6YZNRfWPx51vPIZ sM6EJw6bpS4g== X-IronPort-AV: E=Sophos;i="5.75,375,1589266800"; d="scan'208";a="326090814" Received: from unknown (HELO [10.254.115.28]) ([10.254.115.28]) by fmsmga003-auth.fm.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 20 Jul 2020 08:30:24 -0700 Subject: Re: [PATCH 07/29] ASoC: sof: use asoc_substream_to_rtd() To: Kuninori Morimoto , Mark Brown References: <87y2nf0yw2.wl-kuninori.morimoto.gx@renesas.com> <87o8ob0yun.wl-kuninori.morimoto.gx@renesas.com> From: Pierre-Louis Bossart Message-ID: <3155783e-0bc2-e031-45f0-7df60454583d@linux.intel.com> Date: Mon, 20 Jul 2020 10:12:56 -0500 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:68.0) Gecko/20100101 Thunderbird/68.10.0 MIME-Version: 1.0 In-Reply-To: <87o8ob0yun.wl-kuninori.morimoto.gx@renesas.com> Content-Type: text/plain; charset=utf-8; format=flowed Content-Language: en-US Content-Transfer-Encoding: 7bit Cc: Linux-ALSA 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 7/19/20 8:18 PM, Kuninori Morimoto wrote: > > From: Kuninori Morimoto > > Now we can use asoc_substream_to_rtd() macro, > let's use it. > > Signed-off-by: Kuninori Morimoto I just ran this on the SOF CI and no issues detected: https://github.com/thesofproject/linux/pull/2300 Tested-by: Pierre-Louis Bossart it's a good clean-up, the SOF code was inconsistent with the use of the snd_pcm_substream_chip() and direct access to private_data, thanks Morimoto-san!