diff options
author | Peter Griffin <peter.griffin@linaro.org> | 2016-06-07 18:38:36 +0100 |
---|---|---|
committer | Vinod Koul <vinod.koul@intel.com> | 2016-06-21 21:35:00 +0530 |
commit | 95b0aa3e10b08b9ee20b5f5e19d162d049744a9b (patch) | |
tree | f5afdc01c602a01f124189c671047b3acc3a44f2 /drivers/dma/fsl-edma.c | |
parent | a86144da9d1a439733a5aea526fe7c7b28b31d4a (diff) |
dmaengine: coh901318: Only calculate residue if txstate exists.
There is no point in calculating the residue if there is no
txstate to store the value.
Signed-off-by: Peter Griffin <peter.griffin@linaro.org>
Acked-by: Linus Walleij <linus.walleij@linaro.org>
Signed-off-by: Vinod Koul <vinod.koul@intel.com>
Diffstat (limited to 'drivers/dma/fsl-edma.c')
0 files changed, 0 insertions, 0 deletions