summaryrefslogtreecommitdiffstats
path: root/drivers/dma/sun4i-dma.c
diff options
context:
space:
mode:
authorAndy Shevchenko <andriy.shevchenko@linux.intel.com>2017-03-16 16:18:44 +0200
committerVinod Koul <vinod.koul@intel.com>2017-03-27 10:49:34 +0530
commita08f2673dde1aaba22c79ed016d5901f1b042401 (patch)
tree7f1104fd238e5695d4196431034386137abd454f /drivers/dma/sun4i-dma.c
parent4f68b09ea3ed5b9619568625d967569da055f487 (diff)
downloadlinux-stable-a08f2673dde1aaba22c79ed016d5901f1b042401.tar.gz
linux-stable-a08f2673dde1aaba22c79ed016d5901f1b042401.tar.bz2
linux-stable-a08f2673dde1aaba22c79ed016d5901f1b042401.zip
dmaengine: cppi41: fix cppi41_dma_tx_status() logic
It makes sense to set residue when channel is in progress. Otherwise it should be 0 since transfer is completed. Meanwhile this patch doesn't prevent to set residue value anyway. Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com> Signed-off-by: Vinod Koul <vinod.koul@intel.com>
Diffstat (limited to 'drivers/dma/sun4i-dma.c')
0 files changed, 0 insertions, 0 deletions