summaryrefslogtreecommitdiffstats
path: root/sound/soc/mxs/mxs-pcm.h
diff options
context:
space:
mode:
authorLars-Peter Clausen <lars@metafoo.de>2012-02-22 10:49:10 +0100
committerMark Brown <broonie@opensource.wolfsonmicro.com>2012-03-02 13:47:36 +0000
commit016ab467aa53639d68b03386885c481b8761018e (patch)
tree22bf7880379787e5fce791139197a279478081bf /sound/soc/mxs/mxs-pcm.h
parentc307e8e32e11aae0f561db02898a090c9b7c9b70 (diff)
downloadop-kernel-dev-016ab467aa53639d68b03386885c481b8761018e.zip
op-kernel-dev-016ab467aa53639d68b03386885c481b8761018e.tar.gz
ASoC: mxs-pcm: Use dmaengine PCM helper functions
Signed-off-by: Lars-Peter Clausen <lars@metafoo.de> Tested-by: Shawn Guo <shawn.guo@linaro.org> Acked-by: Vinod Koul <vinod.koul@linux.intel.com> Signed-off-by: Mark Brown <broonie@opensource.wolfsonmicro.com>
Diffstat (limited to 'sound/soc/mxs/mxs-pcm.h')
-rw-r--r--sound/soc/mxs/mxs-pcm.h12
1 files changed, 0 insertions, 12 deletions
diff --git a/sound/soc/mxs/mxs-pcm.h b/sound/soc/mxs/mxs-pcm.h
index ba75e10..5f01a91 100644
--- a/sound/soc/mxs/mxs-pcm.h
+++ b/sound/soc/mxs/mxs-pcm.h
@@ -19,21 +19,9 @@
#ifndef _MXS_PCM_H
#define _MXS_PCM_H
-#include <mach/dma.h>
-
struct mxs_pcm_dma_params {
int chan_irq;
int chan_num;
};
-struct mxs_pcm_runtime_data {
- int period_bytes;
- int periods;
- unsigned long offset;
- struct dma_async_tx_descriptor *desc;
- struct dma_chan *dma_chan;
- struct mxs_dma_data dma_data;
- struct mxs_pcm_dma_params *dma_params;
-};
-
#endif
OpenPOWER on IntegriCloud