summaryrefslogtreecommitdiffstats
path: root/sound/soc/samsung/dma.c
diff options
context:
space:
mode:
authorSeungwhan Youn <sw.youn@samsung.com>2011-01-07 13:51:26 +0900
committerMark Brown <broonie@opensource.wolfsonmicro.com>2011-01-10 11:38:16 +0000
commitf7f741810f14f971337b15892007622c3af1f109 (patch)
treefc402acb716937351dded7bbba2138c10059989c /sound/soc/samsung/dma.c
parent4f644ea70d54bf851fc0ebc77fa0f66fce7cb7d2 (diff)
downloadop-kernel-dev-f7f741810f14f971337b15892007622c3af1f109.zip
op-kernel-dev-f7f741810f14f971337b15892007622c3af1f109.tar.gz
ASoC: SAMSUNG: Clean-up DMA header file
This patch moves DMA specific definitions, they doesn't need to be shared, into 'dma.c' from 'dma.h'. And remove unnecessery definitions on 'dma.h'. Signed-off-by: Seungwhan Youn <sw.youn@samsung.com> Acked-by: Jassi Brar <jassi.brar@samsung.com> Signed-off-by: Mark Brown <broonie@opensource.wolfsonmicro.com>
Diffstat (limited to 'sound/soc/samsung/dma.c')
-rw-r--r--sound/soc/samsung/dma.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/sound/soc/samsung/dma.c b/sound/soc/samsung/dma.c
index 2124019..c2cdb45 100644
--- a/sound/soc/samsung/dma.c
+++ b/sound/soc/samsung/dma.c
@@ -32,6 +32,9 @@
#include "dma.h"
+#define ST_RUNNING (1<<0)
+#define ST_OPENED (1<<1)
+
static const struct snd_pcm_hardware dma_hardware = {
.info = SNDRV_PCM_INFO_INTERLEAVED |
SNDRV_PCM_INFO_BLOCK_TRANSFER |
OpenPOWER on IntegriCloud