Received: by 2002:a25:683:0:0:0:0:0 with SMTP id 125csp275756ybg; Fri, 12 Jun 2020 00:54:57 -0700 (PDT) X-Google-Smtp-Source: ABdhPJwG6jG1QxMoB0bLe7agVDqxLJtuqHtCHDwtzY3NOeLmkl8oRTSValljycubeYBd1dvFz2oM X-Received: by 2002:a17:906:5785:: with SMTP id k5mr11784660ejq.494.1591948497597; Fri, 12 Jun 2020 00:54:57 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1591948497; cv=none; d=google.com; s=arc-20160816; b=Lbhx2rsRYgtWOtAZP+N26DhoPoIDbx+4XEJ04I855ySqhz5AuPMGrsAz+rW2RfqsMB zaH7Byfd96Mst6kzTVmOiVMM+eRGf8G0Pq3r1pI4+bhfcTY5h46VBg/yU4t4FcIxYPPz EZOTUQVSwGtaCmWGezL6KE34EQOOOqXrFlNmjyXPoSiJNwt1Xx2DIdHU649l5+HgTDD7 bnmOQ8igUYWLsQJxThyvES3+XCutdJ4lpFLCqEYeG8VwVDvT+xTz8xpbDiXnEozo0EfK zBi2ovaLXWbQbmKUXJBr/RlvzaHifB2Ec7VI1WKR10oOVP7dlWWOddywoR10eTOHNo5W elYA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:message-id:date:subject:to:from; bh=DSLD4Cy59O1cn1+sgbX6oUIG291gNjLr0wrKSg1XPqE=; b=r91aJkuwWf2OIrgvpBpQUT8oGqV+ceJm2f2ZOFrBqUOQ7Y4UJzuUnPSAtXKmTPL6JQ jss9hSenhS/EdUXW0hIcaflxROjW0BMbLOe46A9DrJItFGn3VmBPNunPuXm6MLBNl8nP 0oQDEalNGSZP2bD9yFsitVM9vH3Ga4Tz21GubRLEsiHaRJrC5cCi1PJogPlU67uKsFuh LGj/nFfvHpVYnWWrfL56G4mDOI2CUpZE6LLsJ17h7rzw7wsiAPeoAWw3YXgHV639+Xgf l4/tKZBzM65ei0Gx7Hcu6suHmLhv06fv5RHYZMp4gCQ8FhVqLj52yYaYLKJKa5u1kZXl vEzQ== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=nxp.com Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id z14si3107391eji.192.2020.06.12.00.54.34; Fri, 12 Jun 2020 00:54:57 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) client-ip=23.128.96.18; Authentication-Results: mx.google.com; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=nxp.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1726447AbgFLHsu (ORCPT + 99 others); Fri, 12 Jun 2020 03:48:50 -0400 Received: from inva020.nxp.com ([92.121.34.13]:50570 "EHLO inva020.nxp.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726327AbgFLHst (ORCPT ); Fri, 12 Jun 2020 03:48:49 -0400 Received: from inva020.nxp.com (localhost [127.0.0.1]) by inva020.eu-rdc02.nxp.com (Postfix) with ESMTP id 77AE61A0B5F; Fri, 12 Jun 2020 09:48:47 +0200 (CEST) Received: from invc005.ap-rdc01.nxp.com (invc005.ap-rdc01.nxp.com [165.114.16.14]) by inva020.eu-rdc02.nxp.com (Postfix) with ESMTP id 8EB311A0B5E; Fri, 12 Jun 2020 09:48:42 +0200 (CEST) Received: from localhost.localdomain (shlinux2.ap.freescale.net [10.192.224.44]) by invc005.ap-rdc01.nxp.com (Postfix) with ESMTP id 3FBAA402D3; Fri, 12 Jun 2020 15:48:36 +0800 (SGT) From: Shengjiu Wang To: lars@metafoo.de, perex@perex.cz, tiwai@suse.com, lgirdwood@gmail.com, broonie@kernel.org, timur@kernel.org, nicoleotsuka@gmail.com, Xiubo.Lee@gmail.com, festevam@gmail.com, alsa-devel@alsa-project.org, linux-kernel@vger.kernel.org, linuxppc-dev@lists.ozlabs.org Subject: [RFC PATCH v3 0/4] Reuse the dma channel if available in Back-End Date: Fri, 12 Jun 2020 15:37:47 +0800 Message-Id: X-Mailer: git-send-email 2.7.4 X-Virus-Scanned: ClamAV using ClamSMTP Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Reuse the dma channel if available in Back-End Shengjiu Wang (4): ASoC: soc-card: export snd_soc_lookup_component_nolocked ASoC: dmaengine_pcm: export soc_component_to_pcm ASoC: fsl_asrc_dma: Reuse the dma channel if available in Back-End ASoC: fsl_asrc_dma: Fix data copying speed issue with EDMA changes in v3: - update according to Nicolin's comments - split previous 0003 patch to two patches changes in v2: - update according to Mark's comments and split the patch include/sound/dmaengine_pcm.h | 11 +++++++ include/sound/soc.h | 2 ++ sound/soc/fsl/fsl_asrc_common.h | 2 ++ sound/soc/fsl/fsl_asrc_dma.c | 47 +++++++++++++++++++-------- sound/soc/soc-core.c | 3 +- sound/soc/soc-generic-dmaengine-pcm.c | 12 ------- 6 files changed, 50 insertions(+), 27 deletions(-) -- 2.21.0