[alsa-devel] [PATCHv4 16/20] ASoC: OMAP: Enable DMA burst mode

Jarkko Nikula jhnikula at gmail.com
Mon Aug 17 15:25:00 CEST 2009


On Mon, 17 Aug 2009 14:51:15 +0300
Eduardo Valentin <eduardo.valentin at nokia.com> wrote:

> From: Eduardo Valentin <eduardo.valentin at nokia.com>
> 
> Signed-off-by: Eduardo Valentin <eduardo.valentin at nokia.com>
> ---
>  sound/soc/omap/omap-pcm.c |    3 +++
>  1 files changed, 3 insertions(+), 0 deletions(-)
> 
> diff --git a/sound/soc/omap/omap-pcm.c b/sound/soc/omap/omap-pcm.c
> index f769a52..f037db0 100644
> --- a/sound/soc/omap/omap-pcm.c
> +++ b/sound/soc/omap/omap-pcm.c
> @@ -193,6 +193,9 @@ static int omap_pcm_prepare(struct snd_pcm_substream *substream)
>  	omap_enable_dma_irq(prtd->dma_ch, OMAP_DMA_FRAME_IRQ |
>  				(cpu_is_omap1510() ? OMAP_DMA_LAST_IRQ : 0));
>  
> +	omap_set_dma_src_burst_mode(prtd->dma_ch, OMAP_DMA_DATA_BURST_16);
> +	omap_set_dma_dest_burst_mode(prtd->dma_ch, OMAP_DMA_DATA_BURST_16);
> +
>  	return 0;

This seems to be based on first version of Janusz's "[RFC] [PATCH 3/3]
ASoC: OMAP: Enhance OMAP1510 DMA progress software counter".

I Attached a version which is based on "[PATCH 3/3 v3] ASoC: OMAP:
Enhance OMAP1510 DMA progress software counter.


-- 
Jarkko
-------------- next part --------------
A non-text attachment was scrubbed...
Name: 0001-ASoC-OMAP-Enable-DMA-burst-mode.patch
Type: text/x-diff
Size: 852 bytes
Desc: not available
Url : http://mailman.alsa-project.org/pipermail/alsa-devel/attachments/20090817/eec6f85d/attachment-0001.bin 


More information about the Alsa-devel mailing list