commit | b9ab9d10d9898cd022fece44a474e5ddb785d639 | [log] [tgz] |
---|---|---|
author | Peter Griffin <peter.griffin@linaro.org> | Tue Jun 07 18:38:39 2016 +0100 |
committer | Vinod Koul <vinod.koul@intel.com> | Tue Jun 21 21:35:00 2016 +0530 |
tree | f8d19f77fe44b63fb13bb046250e30f0823a90c5 | |
parent | a90e56e5b1779836132645e3352c7d5b60cddca8 [diff] |
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>