summaryrefslogtreecommitdiffstats
path: root/include/sound/dmaengine_pcm.h
diff options
context:
space:
mode:
authorMark Brown <broonie@linaro.org>2013-12-02 12:47:11 +0100
committerMark Brown <broonie@linaro.org>2013-12-02 12:47:11 +0100
commitc0d38da61d28b9fad226218acc5716c333dab3e4 (patch)
treeb92634dee66664336a731d12935c0d8a255a5573 /include/sound/dmaengine_pcm.h
parentASoC: Add support for BCM2835 (diff)
parentASoC: generic-dmaengine-pcm: Set BATCH flag when residue reporting is not sup... (diff)
downloadlinux-c0d38da61d28b9fad226218acc5716c333dab3e4.tar.xz
linux-c0d38da61d28b9fad226218acc5716c333dab3e4.zip
Merge remote-tracking branch 'asoc/topic/dma' into asoc-bcm2835
Diffstat (limited to 'include/sound/dmaengine_pcm.h')
-rw-r--r--include/sound/dmaengine_pcm.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/include/sound/dmaengine_pcm.h b/include/sound/dmaengine_pcm.h
index 15017311f2e9..4ef986cab182 100644
--- a/include/sound/dmaengine_pcm.h
+++ b/include/sound/dmaengine_pcm.h
@@ -140,6 +140,10 @@ int snd_dmaengine_pcm_register(struct device *dev,
unsigned int flags);
void snd_dmaengine_pcm_unregister(struct device *dev);
+int devm_snd_dmaengine_pcm_register(struct device *dev,
+ const struct snd_dmaengine_pcm_config *config,
+ unsigned int flags);
+
int snd_dmaengine_pcm_prepare_slave_config(struct snd_pcm_substream *substream,
struct snd_pcm_hw_params *params,
struct dma_slave_config *slave_config);