[PATCH v4 0/4] dw_dmac: return actual residue value

From: Andy Shevchenko
Date: Fri Jan 25 2013 - 04:48:40 EST


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

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