lkml.org 
[lkml]   [2011]   [May]   [5]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
From
Subject[PATCH V4 0/5] dmaengine/dw_dmac updates
Date
This patchset fixes few issues and extends its support.

Changes in V4:
- spin_locks are not taken anymore from parent routines. Now every routine
takes locks whenever required.
- 1 and 0 are replaced with true and false for bool parameters to routines.
- flags are not used uninitialized for spin_lock_irqsave

Changes in V3:
- lflags is removed from dw_dma_chan and local flag variables are created.
- An extra argument is added to routines calling dwc_descriptor_complete()
directly or indirectly
- spin_lock() in tasklet is also changed to irqsave variants.

Changes in V2:
- lflags added in dw_dma_chan instead of dw_dma
- Patch from Linus Walleij added for pause and resume functionality.

Linus Walleij (1):
dmaengine/dw_dmac: implement pause and resume in dwc_control

Viresh Kumar (4):
dmaengine/dw_dmac: don't call callback routine in case
dmaengine_terminate_all() is called
dmaengine/dw_dmac: set residue as total len in dwc_tx_status if
status is !DMA_SUCCESS
dmaengine/dw_dmac: Divide one sg to many desc, if sg len is greater
than DWC_MAX_COUNT
dmaengine/dw_dmac: Replace spin_lock* with irqsave variants and
enable submission from callback

drivers/dma/dw_dmac.c | 271 +++++++++++++++++++++++++++++---------------
drivers/dma/dw_dmac_regs.h | 1 +
2 files changed, 179 insertions(+), 93 deletions(-)

--
1.7.2.2



\
 
 \ /
  Last update: 2011-05-05 14:05    [W:0.321 / U:0.036 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site