lkml.org 
[lkml]   [2013]   [Jan]   [25]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
From
Subject[PATCH v4 0/4] dw_dmac: return actual residue value
Date
The patch series is targeted for getting proper residue value.

Since v3:
- split dwc_get_residue() from dwc_tx_status and improve locking there
- patch 1/4 "dw_dmac: remove unnecessary tx_list field in dw_dma_chan" was
amended a bit to simplify patch 4/4

Since v2:
- get rid of dwc_update_residue(): for soft LLP mode we assign residue in
dwc_do_start() and decrease it at each interrupt. In the middle of transfer
we will return that result substracted by amount of sent bytes

Since v1:
- everything is rewritten to address Viresh's and Vinod's comments.

Andy Shevchenko (4):
dw_dmac: remove unnecessary tx_list field in dw_dma_chan
dw_dmac: introduce total_len field in struct dw_desc
dw_dmac: fill individual length of descriptor
dw_dmac: return proper residue value

drivers/dma/dw_dmac.c | 82 +++++++++++++++++++++++++++++++++++++-------
drivers/dma/dw_dmac_regs.h | 3 +-
2 files changed, 71 insertions(+), 14 deletions(-)

--
1.7.10.4



\
 
 \ /
  Last update: 2013-01-25 11:21    [W:3.022 / U:0.264 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site