summaryrefslogtreecommitdiffstats
path: root/drivers/dma/k3dma.c
diff options
context:
space:
mode:
authorPeter Griffin <peter.griffin@linaro.org>2016-06-07 18:38:39 +0100
committerVinod Koul <vinod.koul@intel.com>2016-06-21 21:35:00 +0530
commitb9ab9d10d9898cd022fece44a474e5ddb785d639 (patch)
treef8d19f77fe44b63fb13bb046250e30f0823a90c5 /drivers/dma/k3dma.c
parenta90e56e5b1779836132645e3352c7d5b60cddca8 (diff)
downloadlinux-b9ab9d10d9898cd022fece44a474e5ddb785d639.tar.bz2
dmaengine: sun6i-dma: Only calculate residue if state exists.
There is no point in calculating the residue if state does not exist to store the value. Signed-off-by: Peter Griffin <peter.griffin@linaro.org> Signed-off-by: Vinod Koul <vinod.koul@intel.com>
Diffstat (limited to 'drivers/dma/k3dma.c')
0 files changed, 0 insertions, 0 deletions