summaryrefslogtreecommitdiffstats
path: root/kernel/sound/soc/atmel/atmel-pcm-dma.c
diff options
context:
space:
mode:
Diffstat (limited to 'kernel/sound/soc/atmel/atmel-pcm-dma.c')
-rw-r--r--kernel/sound/soc/atmel/atmel-pcm-dma.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/kernel/sound/soc/atmel/atmel-pcm-dma.c b/kernel/sound/soc/atmel/atmel-pcm-dma.c
index b6625c8c4..dd57a9eac 100644
--- a/kernel/sound/soc/atmel/atmel-pcm-dma.c
+++ b/kernel/sound/soc/atmel/atmel-pcm-dma.c
@@ -124,8 +124,7 @@ static const struct snd_dmaengine_pcm_config atmel_dmaengine_pcm_config = {
int atmel_pcm_dma_platform_register(struct device *dev)
{
- return snd_dmaengine_pcm_register(dev, &atmel_dmaengine_pcm_config,
- SND_DMAENGINE_PCM_FLAG_NO_RESIDUE);
+ return snd_dmaengine_pcm_register(dev, &atmel_dmaengine_pcm_config, 0);
}
EXPORT_SYMBOL(atmel_pcm_dma_platform_register);