From: Peter Ujfalusi Subject: [PATCH 1/6] ASoC: dmaengine_pcm: Add dma_name to snd_dmaengine_dai_dma_data Date: Thu, 11 Jul 2013 12:18:45 +0200 Message-ID: <1373537930-10467-2-git-send-email-peter.ujfalusi@ti.com> References: <1373537930-10467-1-git-send-email-peter.ujfalusi@ti.com> Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Return-path: Received: from arroyo.ext.ti.com (arroyo.ext.ti.com [192.94.94.40]) by alsa0.perex.cz (Postfix) with ESMTP id BEE76265056 for ; Thu, 11 Jul 2013 12:18:55 +0200 (CEST) In-Reply-To: <1373537930-10467-1-git-send-email-peter.ujfalusi@ti.com> List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: alsa-devel-bounces@alsa-project.org Sender: alsa-devel-bounces@alsa-project.org To: Mark Brown , Liam Girdwood Cc: alsa-devel@alsa-project.org, Lars-Peter Clausen , Jarkko Nikula List-Id: alsa-devel@alsa-project.org DAI drivers can set the dma_name to the desired one instead of filter_data when booting with device tree in order to be able to get the correct DMA channel in DT boot. When booting with devicetree the platform_get_resource_byname() is not available for DMA resources. Signed-off-by: Peter Ujfalusi --- include/sound/dmaengine_pcm.h | 1 + 1 file changed, 1 insertion(+) diff --git a/include/sound/dmaengine_pcm.h b/include/sound/dmaengine_pcm.h index f11c35c..85a3286 100644 --- a/include/sound/dmaengine_pcm.h +++ b/include/sound/dmaengine_pcm.h @@ -68,6 +68,7 @@ struct snd_dmaengine_dai_dma_data { u32 maxburst; unsigned int slave_id; void *filter_data; + const char *dma_name; }; void snd_dmaengine_pcm_set_config_from_dai_data( -- 1.8.2.1