diff options
author | Huang Chao <chao7.huang@samsung.com> | 2014-06-30 15:45:06 +0800 |
---|---|---|
committer | Chanho Park <chanho61.park@samsung.com> | 2014-11-18 11:59:55 +0900 |
commit | 609110cfe9592793cac94c1c12d45b04afa6be46 (patch) | |
tree | a96307b4edccd155685a7e72c40a6d82e25a7387 /sound | |
parent | 3fcbdb162c1081f2641981f54b2938a61e23f456 (diff) | |
download | linux-3.10-609110cfe9592793cac94c1c12d45b04afa6be46.tar.gz linux-3.10-609110cfe9592793cac94c1c12d45b04afa6be46.tar.bz2 linux-3.10-609110cfe9592793cac94c1c12d45b04afa6be46.zip |
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 <chao7.huang@samsung.com>
Diffstat (limited to 'sound')
-rw-r--r-- | sound/soc/samsung/i2s.c | 3 |
1 files changed, 3 insertions, 0 deletions
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 <sound/soc.h> #include <sound/pcm_params.h> +#include <sound/dmaengine_pcm.h> #include <mach/dma.h> @@ -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; |