diff options
author | Andy Shevchenko <andriy.shevchenko@linux.intel.com> | 2013-01-25 11:48:01 +0200 |
---|---|---|
committer | Vinod Koul <vinod.koul@intel.com> | 2013-01-28 04:04:36 -0800 |
commit | 30d38a3286b140ae8cea84a93cde1f112e352aaf (patch) | |
tree | b8b08a5ffacdfad43531ef38227db39cdbb69fcb /drivers/dma/dw_dmac_regs.h | |
parent | fdf475fa40f1468cf43a72b270f74dc6a4a5c905 (diff) |
dw_dmac: introduce total_len field in struct dw_desc
By this new field we distinguish a total length of the chain and the individual
length of each descriptor in the chain.
Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
Acked-by: Viresh Kumar <viresh.kumar@linaro.org>
Signed-off-by: Vinod Koul <vinod.koul@intel.com>
Diffstat (limited to 'drivers/dma/dw_dmac_regs.h')
-rw-r--r-- | drivers/dma/dw_dmac_regs.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/drivers/dma/dw_dmac_regs.h b/drivers/dma/dw_dmac_regs.h index 13000d2b335..833b4cf9843 100644 --- a/drivers/dma/dw_dmac_regs.h +++ b/drivers/dma/dw_dmac_regs.h @@ -296,6 +296,7 @@ struct dw_desc { struct list_head tx_list; struct dma_async_tx_descriptor txd; size_t len; + size_t total_len; }; #define to_dw_desc(h) list_entry(h, struct dw_desc, desc_node) |