lkml.org 
[lkml]   [2009]   [Apr]   [1]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
From
Date
SubjectRE: [PATCH v3 1/1] dw_dmac: add cyclic API to DW DMA driver
Hans-Christian Egtvedt wrote:
> This patch adds a cyclic DMA interface to the DW DMA driver. This is
> very useful if you want to use the DMA controller in combination with a
> sound device which uses cyclic buffers.
>
> Using a DMA channel for cyclic DMA will disable the possibility to use
> it as a normal DMA engine until the user calls the cyclic free function
> on the DMA channel. Also a cyclic DMA list can not be prepared if the
> channel is already active.
>
> Signed-off-by: Hans-Christian Egtvedt <hans-christian.egtvedt@atmel.com>
> ---
> drivers/dma/dw_dmac.c | 332 +++++++++++++++++++++++++++++++++++++++++++-
> drivers/dma/dw_dmac_regs.h | 7 +-
> include/linux/dw_dmac.h | 19 +++
> 3 files changed, 356 insertions(+), 2 deletions(-)
>

Acked-by: Maciej Sosnowski <maciej.sosnowski@intel.com>


\
 
 \ /
  Last update: 2009-04-01 17:11    [from the cache]
©2003-2014 Jasper Spaans. Advertise on this site