lists.openwall.net   lists  /  announce  owl-users  owl-dev  john-users  john-dev  passwdqc-users  yescrypt  popa3d-users  /  oss-security  kernel-hardening  musl  sabotage  tlsify  passwords  /  crypt-dev  xvendor  /  Bugtraq  Full-Disclosure  linux-kernel  linux-netdev  linux-ext4  linux-hardening  linux-cve-announce  PHC 
Open Source and information security mailing list archives
 
Hash Suite: Windows password security audit tool. GUI, reports in PDF.
[<prev] [next>] [day] [month] [year] [list]
Message-id: <001c01ce10d4$088ea3c0$19abeb40$%kim@samsung.com>
Date:	Fri, 22 Feb 2013 17:10:10 +0900
From:	Boojin Kim <boojin.kim@...sung.com>
To:	linux-kernel@...r.kernel.org, linux-samsung-soc@...r.kernel.org,
	linux-arm-kernel@...ts.infradead.org,
	spi-devel-general@...ts.sourceforge.net,
	alsa-devel@...a-project.org
Cc:	'Vinod Koul' <vinod.koul@...el.com>, 'Dan Williams' <djbw@...com>,
	'Russell King' <linux@....linux.org.uk>,
	'Kukjin Kim' <kgene.kim@...sung.com>,
	'Grant Likely' <grant.likely@...retlab.ca>,
	'Mark Brown' <broonie@...nsource.wolfsonmicro.com>,
	'Rob Herring' <rob.herring@...xeda.com>,
	'Sangbeom Kim' <sbkim73@...sung.com>
Subject: [PATCH v2 4/4] ASoC: samsung: add to configure dma maxburst size

This patch adds to configure dma maxburst size.

Signed-off-by: Boojin Kim <boojin.kim@...sung.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



--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Please read the FAQ at  http://www.tux.org/lkml/

Powered by blists - more mailing lists

Powered by Openwall GNU/*/Linux Powered by OpenVZ