Received: by 2002:a25:683:0:0:0:0:0 with SMTP id 125csp381036ybg; Wed, 10 Jun 2020 03:19:02 -0700 (PDT) X-Google-Smtp-Source: ABdhPJwCJsnlpvAB393xbLZLbRxgMOpQbPJkLdjOl0iwOpKu+lCI8Hxpqk9XIlxrdqsFfSmZnili X-Received: by 2002:a17:906:7f94:: with SMTP id f20mr2756610ejr.394.1591784342427; Wed, 10 Jun 2020 03:19:02 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1591784342; cv=none; d=google.com; s=arc-20160816; b=ZnKEBG0FsdDOUavXIwSJRXSUgUGKuI4gKSTzWhPguvglYSoHsYUv2W2Ty2kSyqahZ3 4lErj4nGxoptUe+x1tu14rC2+K1E9KX4zeqqJtFZp3JeFdK4799kDNMwV7imCeahaQ4D CrHxnf1t9BtCYRKSepSbZ8u3gW4ivE2xPwcIciPesoqHCq4AwBCyfMI10Lnu0k+XxTVw col/uM3+hD/QBkiF7RACEqFSgDwdXsowOqaBAsyIYo1zJ4lphMQ6g/pT4F92HMtVAxsH SdVLOZM8gzk3KgWGAItVVcs7ZXSKf1oWUDAq01xhFlJyecpiNvIYJEaib7bTmyZdUk/Y QmeQ== 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=hpIV9zUvmvRMC96rPqc+kUk0QVqaQdU7S/Oe88az7U8=; b=hqaRLjA5G7IOUhe6tkunxRjGt8wpLiym8gAn5bRuyJkbduWGB+Rrgnin39Spz7B6P6 xNh4sjPju3sktdUgnjjM3fhpZ2XHo3jj7vg1dTJeWydfecw8g+JjHTQM2k87SjVKwVot dAoejaGCjoe+45F2JmoKaQloPk6xSDZPy9hEdXPszHBiIqlj6rb2nrV9PMFOlde1N/Qy /zg+FDx8DoHroPkNzvGzZS2SNe0hxzyEx1VgxUYgJ93/TeMkRoMJ63byNBEWKektcerM V0UxwBqRmivEivCRR3cwvKdY9Px9wUFTdO9EbJTnrZfrEuLx4meKru1bMGjaNGrhSc9Q NDlg== 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 a9si12008160edy.372.2020.06.10.03.18.38; Wed, 10 Jun 2020 03:19:02 -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 S1728170AbgFJKQn (ORCPT + 99 others); Wed, 10 Jun 2020 06:16:43 -0400 Received: from inva020.nxp.com ([92.121.34.13]:46712 "EHLO inva020.nxp.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726533AbgFJKQm (ORCPT ); Wed, 10 Jun 2020 06:16:42 -0400 Received: from inva020.nxp.com (localhost [127.0.0.1]) by inva020.eu-rdc02.nxp.com (Postfix) with ESMTP id 408921A0482; Wed, 10 Jun 2020 12:16:41 +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 5E6251A02CE; Wed, 10 Jun 2020 12:16:36 +0200 (CEST) Received: from localhost.localdomain (shlinux2.ap.freescale.net [10.192.224.44]) by invc005.ap-rdc01.nxp.com (Postfix) with ESMTP id E5B81402FB; Wed, 10 Jun 2020 18:16:29 +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 v2 0/3] ASoC: fsl_asrc_dma: Reuse the dma channel if available in Back-End Date: Wed, 10 Jun 2020 18:05:46 +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 (3): 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 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 | 52 ++++++++++++++++++++------- sound/soc/soc-core.c | 3 +- sound/soc/soc-generic-dmaengine-pcm.c | 12 ------- 6 files changed, 57 insertions(+), 25 deletions(-) -- 2.21.0