summaryrefslogtreecommitdiff
path: root/sound/soc/samsung/dma.h
diff options
context:
space:
mode:
authorMark Brown <broonie@linaro.org>2013-10-19 15:23:15 +0100
committerMark Brown <broonie@linaro.org>2013-12-12 00:28:57 +0000
commit3688569e8173e84cd95d98f158245e17bca4f593 (patch)
tree7f163d739333a2249ef7155d17a7cc00fdea814d /sound/soc/samsung/dma.h
parentbeaec3aab661e450511b8d84f079e47a4145dfb7 (diff)
ASoC: samsung: Provide helper for DMA init
In preparation for using the dmaengine helpers in ASoC rather than the dmaengine wrappers for the Samsung API wrap the configuration of dma_data. The dmaengine code expects different data to that used by the legacy API. Signed-off-by: Mark Brown <broonie@linaro.org>
Diffstat (limited to 'sound/soc/samsung/dma.h')
-rw-r--r--sound/soc/samsung/dma.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/sound/soc/samsung/dma.h b/sound/soc/samsung/dma.h
index 0e86315a3eaf..fb09a1c5f75b 100644
--- a/sound/soc/samsung/dma.h
+++ b/sound/soc/samsung/dma.h
@@ -22,6 +22,9 @@ struct s3c_dma_params {
char *ch_name;
};
+void samsung_asoc_init_dma_data(struct snd_soc_dai *dai,
+ struct s3c_dma_params *playback,
+ struct s3c_dma_params *capture);
int samsung_asoc_dma_platform_register(struct device *dev);
void samsung_asoc_dma_platform_unregister(struct device *dev);