diff options
author | Peter Griffin <peter.griffin@linaro.org> | 2016-06-07 18:38:39 +0100 |
---|---|---|
committer | Vinod Koul <vinod.koul@intel.com> | 2016-06-21 21:35:00 +0530 |
commit | b9ab9d10d9898cd022fece44a474e5ddb785d639 (patch) | |
tree | f8d19f77fe44b63fb13bb046250e30f0823a90c5 /drivers/dma/k3dma.c | |
parent | a90e56e5b1779836132645e3352c7d5b60cddca8 (diff) | |
download | linux-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