* [PATCH v2 4/4] ASoC: samsung: add to configure dma maxburst size
@ 2013-02-22 8:10 Boojin Kim
0 siblings, 0 replies; only message in thread
From: Boojin Kim @ 2013-02-22 8:10 UTC (permalink / raw)
To: linux-kernel, linux-samsung-soc, linux-arm-kernel,
spi-devel-general, alsa-devel
Cc: 'Vinod Koul', 'Dan Williams',
'Russell King', 'Kukjin Kim',
'Grant Likely', 'Mark Brown',
'Rob Herring', 'Sangbeom Kim'
This patch adds to configure dma maxburst size.
Signed-off-by: Boojin Kim <boojin.kim@samsung.com>
---
sound/soc/samsung/dma.c | 1 +
1 files changed, 1 insertions(+), 0 deletions(-)
diff --git a/sound/soc/samsung/dma.c b/sound/soc/samsung/dma.c
index 21b7926..bd4faa0 100644
--- a/sound/soc/samsung/dma.c
+++ b/sound/soc/samsung/dma.c
@@ -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
^ permalink raw reply [flat|nested] only message in thread
only message in thread, other threads:[~2013-02-22 8:10 UTC | newest]
Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2013-02-22 8:10 [PATCH v2 4/4] ASoC: samsung: add to configure dma maxburst size Boojin Kim
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox
all inboxes | Powered by JetHome®