From 609110cfe9592793cac94c1c12d45b04afa6be46 Mon Sep 17 00:00:00 2001 From: Huang Chao Date: Mon, 30 Jun 2014 15:45:06 +0800 Subject: ASoC: samsung: i2s: Add sound dmaengine playback/capture DAI DMA data This patch adds the standard alsa dmaengine configuration dai data, which can make the dma slave channel runtime data be configured by generic sound dmaengine slave config callback. This dmaengine dai configuration data mainly contain dma address, width and maxburst. Change-Id: Ief0688913ef89faafb90a1cf72c8a0977f3cb688 Signed-off-by: Huang Chao --- sound/soc/samsung/i2s.c | 3 +++ 1 file changed, 3 insertions(+) (limited to 'sound') diff --git a/sound/soc/samsung/i2s.c b/sound/soc/samsung/i2s.c index 60b67256e3a..08ab1d7de09 100644 --- a/sound/soc/samsung/i2s.c +++ b/sound/soc/samsung/i2s.c @@ -22,6 +22,7 @@ #include #include +#include #include @@ -88,6 +89,8 @@ struct i2s_dai { /* Driver for this DAI */ struct snd_soc_dai_driver i2s_dai_drv; /* DMA parameters */ + struct snd_dmaengine_dai_dma_data snd_dma_playback; + struct snd_dmaengine_dai_dma_data snd_dma_capture; struct s3c_dma_params dma_playback; struct s3c_dma_params dma_capture; struct s3c_dma_params idma_playback; -- cgit v1.2.3