summaryrefslogtreecommitdiffstats
path: root/sound/soc/samsung/dmaengine.c
diff options
context:
space:
mode:
authorVasily Khoruzhick2014-06-23 22:24:04 +0200
committerMark Brown2014-06-24 12:57:43 +0200
commit87b132bc0315fdfe7677449da1fb1ce12c5dda35 (patch)
treed2944094dfb897bd1bd6d7212b5cc33f34fdc9b8 /sound/soc/samsung/dmaengine.c
parentASoC: samsung: Add I2C dependency for snow (diff)
downloadkernel-qcow2-linux-87b132bc0315fdfe7677449da1fb1ce12c5dda35.tar.gz
kernel-qcow2-linux-87b132bc0315fdfe7677449da1fb1ce12c5dda35.tar.xz
kernel-qcow2-linux-87b132bc0315fdfe7677449da1fb1ce12c5dda35.zip
ASoC: samsung: s3c24{xx,12}-i2s: port to use generic dmaengine API
Use dmaengine instead of legacy s3c24xx DMA API for s3c24xx and s3c2412 Signed-off-by: Vasily Khoruzhick <anarsoul@gmail.com> Signed-off-by: Mark Brown <broonie@linaro.org>
Diffstat (limited to 'sound/soc/samsung/dmaengine.c')
-rw-r--r--sound/soc/samsung/dmaengine.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/sound/soc/samsung/dmaengine.c b/sound/soc/samsung/dmaengine.c
index a0e4e7948909..506f5bf6d082 100644
--- a/sound/soc/samsung/dmaengine.c
+++ b/sound/soc/samsung/dmaengine.c
@@ -17,6 +17,7 @@
#include <linux/module.h>
#include <linux/amba/pl08x.h>
+#include <linux/platform_data/dma-s3c24xx.h>
#include <sound/core.h>
#include <sound/pcm.h>
@@ -29,6 +30,8 @@
#ifdef CONFIG_ARCH_S3C64XX
#define filter_fn pl08x_filter_id
+#elif defined(CONFIG_ARCH_S3C24XX)
+#define filter_fn s3c24xx_dma_filter
#else
#define filter_fn NULL
#endif