Skip to contentSkip to conversation

ASoC: samsung: add to configure dma maxburst size

PATCH Applied Boojin Kim 1 participant 1 message Feb 22, 2013

Subsystems (5)
Sound ASoC SPI Arm Samsung Exynos +1 more subsystems
lore
Share & tools
lore

Boojin Kim

author
#0 lore raw

PATCH v2 4/4 ASoC: samsung: add to configure dma maxburst size

This patch adds to configure dma maxburst size.

---
 sound/soc/samsung/dma.c |    1 +
 1 files changed, 1 insertions(+), 0 deletions(-)
sound/soc/samsung/dma.c +1 -0
index 21b7926..bd4faa0 100644
@@ -172,6 +172,7 @@ static int dma_hw_params(struct snd_pcm_substream *substream,
 			(substream->stream == SNDRV_PCM_STREAM_PLAYBACK
 			? DMA_MEM_TO_DEV : DMA_DEV_TO_MEM);
 		config.width = prtd->params->dma_size;
+		config.maxburst = 1;
 		config.fifo = prtd->params->dma_addr;
 		prtd->params->ch = prtd->params->ops->request(
 				prtd->params->channel, &req, rtd->cpu_dai->dev,

--
1.7.5.4