diff options
author | Mark Brown <broonie@linaro.org> | 2013-10-19 16:23:15 +0200 |
---|---|---|
committer | Mark Brown <broonie@linaro.org> | 2013-12-12 01:28:57 +0100 |
commit | 3688569e8173e84cd95d98f158245e17bca4f593 (patch) | |
tree | 7f163d739333a2249ef7155d17a7cc00fdea814d /sound/soc/samsung/dma.h | |
parent | Merge tag 's3c64xx-dmaengine' of git://git.kernel.org/pub/scm/linux/kernel/gi... (diff) | |
download | linux-3688569e8173e84cd95d98f158245e17bca4f593.tar.xz linux-3688569e8173e84cd95d98f158245e17bca4f593.zip |
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.h | 3 |
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); |