summaryrefslogtreecommitdiffstats
path: root/drivers/dma/at_hdmac_regs.h
diff options
context:
space:
mode:
authorNicolas Ferre <nicolas.ferre@atmel.com>2011-05-06 19:56:51 +0200
committerVinod Koul <vinod.koul@intel.com>2011-05-09 11:42:45 +0530
commit543aabc7d295bfe2489f184259395e3467520d48 (patch)
treedea913d2242b7aa5530616c428d79cfdcd06b6e6 /drivers/dma/at_hdmac_regs.h
parent711b9cea92554be6bd44f04f2485582d762fc441 (diff)
dmaengine: at_hdmac: set residue as total len in atc_tx_status
If transfer status is !=DMA_SUCCESS, return total transfer len as residue, instead of zero. Idea from dw_dmac patch by Viresh Kumar. Signed-off-by: Nicolas Ferre <nicolas.ferre@atmel.com> Signed-off-by: Vinod Koul <vinod.koul@intel.com>
Diffstat (limited to 'drivers/dma/at_hdmac_regs.h')
0 files changed, 0 insertions, 0 deletions