commit | a90e56e5b1779836132645e3352c7d5b60cddca8 | [log] [tgz] |
---|---|---|
author | Peter Griffin <peter.griffin@linaro.org> | Tue Jun 07 18:38:38 2016 +0100 |
committer | Vinod Koul <vinod.koul@intel.com> | Tue Jun 21 21:35:00 2016 +0530 |
tree | a79be2baf6c5839d9f53ca6022260fc78e4e505e | |
parent | e841b80f450ba788c4855af5cc4c535ed9ab7e47 [diff] |
dmaengine: ste_dma40: Only calculate residue if txstate exists. There is no point 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>