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 86542C05027 for ; Fri, 20 Jan 2023 11:14:43 +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 B3E993135; Fri, 20 Jan 2023 12:13:51 +0100 (CET) DKIM-Filter: OpenDKIM Filter v2.11.0 alsa0.perex.cz B3E993135 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=alsa-project.org; s=default; t=1674213281; bh=rE3ydR2KmG5bMaKnfzNlFCWWXZaYGiOoX20ln7dEf60=; h=Date:From:To:Subject:References:In-Reply-To:List-Id: List-Unsubscribe:List-Archive:List-Post:List-Help:List-Subscribe: Cc:From; b=da2/sz/3esIsyPAXnO0CxSdcF4nwa5bd92LvjxR8eQWd1QwQSPkYz6m3kIaqYv+fi +3DzyToQ9B5DGszGQd3QnOHG2oJ8qxKYneT/EEo65kPrxTYbv4FXpJqJ6ksZNjyTdj uyKNPXrHgW7Fcl/iw6U6w2Y9QNH9VgXl1fbFL71g= Received: from alsa1.perex.cz (localhost.localdomain [127.0.0.1]) by alsa1.perex.cz (Postfix) with ESMTP id 6461CF8024D; Fri, 20 Jan 2023 12:13:51 +0100 (CET) Received: by alsa1.perex.cz (Postfix, from userid 50401) id 4B68AF8026D; Fri, 20 Jan 2023 12:13:50 +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 66D45F8024C for ; Fri, 20 Jan 2023 12:13:47 +0100 (CET) DKIM-Filter: OpenDKIM Filter v2.11.0 alsa1.perex.cz 66D45F8024C 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=qqXuQgF2 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 30K8xNwG025055; Fri, 20 Jan 2023 05:13:46 -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=IZDXqZlJGZwthME05uz1nCeTHtS+dlW50m1/8HkrGHo=; b=qqXuQgF2bLbSuv7h+02zm+pjSfq3gw1hD3RqbChF58xkvInbS1ighgSl1XKG7FfutThy X58903MicQqgGxhUwuOCj1mtPTXuTAAFei7ZRmbJ/kU2GezjdM2KAerKeD0mQONSJj9I iqQv8/P7q1ibiSnPw6uv7kx22NElvsNntXTg6hR2U06MtFAn03jK0DWFKtpNpmpXuHDC XNQ7AlM80YORM0RQZiSuORmwTNw7NUWAl6/cx80QeWIQVP3A3tB+vFwkbE9gEs0X2I5Q fbGa0HUkb+sAQ1Q1V18AqmTi3z3am8h0hczzxrg1bOe9hfi2LYX0Dgj7JxKGCOadKn0x Zw== Received: from ediex02.ad.cirrus.com ([84.19.233.68]) by mx0a-001ae601.pphosted.com (PPS) with ESMTPS id 3n3tp6hue6-1 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=NOT); Fri, 20 Jan 2023 05:13:46 -0600 Received: from ediex01.ad.cirrus.com (198.61.84.80) 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:13:44 -0600 Received: from ediswmail.ad.cirrus.com (198.61.86.93) by ediex01.ad.cirrus.com (198.61.84.80) with Microsoft SMTP Server id 15.2.1118.21 via Frontend Transport; Fri, 20 Jan 2023 05:13:44 -0600 Received: from ediswmail.ad.cirrus.com (ediswmail.ad.cirrus.com [198.61.86.93]) by ediswmail.ad.cirrus.com (Postfix) with ESMTP id 020C32C5; Fri, 20 Jan 2023 11:13:44 +0000 (UTC) Date: Fri, 20 Jan 2023 11:13:44 +0000 From: Charles Keepax To: Kuninori Morimoto Subject: Re: [PATCH 02/25] ASoC: soc-dai.h: add snd_soc_dai_dma_data_set/get() for low level Message-ID: <20230120111343.GR36097@ediswmail.ad.cirrus.com> References: <87a62dlmmn.wl-kuninori.morimoto.gx@renesas.com> <877cxhlmef.wl-kuninori.morimoto.gx@renesas.com> MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Disposition: inline In-Reply-To: <877cxhlmef.wl-kuninori.morimoto.gx@renesas.com> User-Agent: Mutt/1.5.21 (2010-09-15) X-Proofpoint-ORIG-GUID: GrgFN3wKrjeNLyXRCS-J7NsX1MvyeQHa X-Proofpoint-GUID: GrgFN3wKrjeNLyXRCS-J7NsX1MvyeQHa 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:01:45AM +0000, Kuninori Morimoto wrote: > From: Kuninori Morimoto > > Current ASoC has snd_soc_dai_set/get_dma_data() which is assuming > struct snd_pcm_substream to get Playback/Capture direction. > > But, many drivers want to use it not through snd_pcm_substream. > This patch adds more low level snd_soc_dai_dma_data_set/get() for it, > and previous functions will be macro for it. > > Signed-off-by: Kuninori Morimoto > --- Reviewed-by: Charles Keepax Thanks, Charles