diff options
-rw-r--r-- | sound/soc/uniphier/aio-dma.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/sound/soc/uniphier/aio-dma.c b/sound/soc/uniphier/aio-dma.c index 4ec6b65bfb44..fa001d3c1a88 100644 --- a/sound/soc/uniphier/aio-dma.c +++ b/sound/soc/uniphier/aio-dma.c | |||
@@ -235,10 +235,11 @@ static int uniphier_aiodma_new(struct snd_soc_pcm_runtime *rtd) | |||
235 | if (ret) | 235 | if (ret) |
236 | return ret; | 236 | return ret; |
237 | 237 | ||
238 | return snd_pcm_lib_preallocate_pages_for_all(pcm, | 238 | snd_pcm_lib_preallocate_pages_for_all(pcm, |
239 | SNDRV_DMA_TYPE_DEV, dev, | 239 | SNDRV_DMA_TYPE_DEV, dev, |
240 | uniphier_aiodma_hw.buffer_bytes_max, | 240 | uniphier_aiodma_hw.buffer_bytes_max, |
241 | uniphier_aiodma_hw.buffer_bytes_max); | 241 | uniphier_aiodma_hw.buffer_bytes_max); |
242 | return 0; | ||
242 | } | 243 | } |
243 | 244 | ||
244 | static void uniphier_aiodma_free(struct snd_pcm *pcm) | 245 | static void uniphier_aiodma_free(struct snd_pcm *pcm) |