aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--sound/soc/atmel/atmel-pcm-dma.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/sound/soc/atmel/atmel-pcm-dma.c b/sound/soc/atmel/atmel-pcm-dma.c
index b8e7bad05eb1..b6625c8c411b 100644
--- a/sound/soc/atmel/atmel-pcm-dma.c
+++ b/sound/soc/atmel/atmel-pcm-dma.c
@@ -54,7 +54,7 @@ static const struct snd_pcm_hardware atmel_pcm_dma_hardware = {
54 .period_bytes_max = 2 * 0xffff, /* if 2 bytes format */ 54 .period_bytes_max = 2 * 0xffff, /* if 2 bytes format */
55 .periods_min = 8, 55 .periods_min = 8,
56 .periods_max = 1024, /* no limit */ 56 .periods_max = 1024, /* no limit */
57 .buffer_bytes_max = ATMEL_SSC_DMABUF_SIZE, 57 .buffer_bytes_max = 512 * 1024,
58}; 58};
59 59
60/** 60/**
@@ -119,7 +119,7 @@ static int atmel_pcm_configure_dma(struct snd_pcm_substream *substream,
119static const struct snd_dmaengine_pcm_config atmel_dmaengine_pcm_config = { 119static const struct snd_dmaengine_pcm_config atmel_dmaengine_pcm_config = {
120 .prepare_slave_config = atmel_pcm_configure_dma, 120 .prepare_slave_config = atmel_pcm_configure_dma,
121 .pcm_hardware = &atmel_pcm_dma_hardware, 121 .pcm_hardware = &atmel_pcm_dma_hardware,
122 .prealloc_buffer_size = ATMEL_SSC_DMABUF_SIZE, 122 .prealloc_buffer_size = 64 * 1024,
123}; 123};
124 124
125int atmel_pcm_dma_platform_register(struct device *dev) 125int atmel_pcm_dma_platform_register(struct device *dev)