diff options
author | Peter Griffin <peter.griffin@linaro.org> | 2016-06-07 19:38:38 +0200 |
---|---|---|
committer | Vinod Koul <vinod.koul@intel.com> | 2016-06-21 18:05:00 +0200 |
commit | a90e56e5b1779836132645e3352c7d5b60cddca8 (patch) | |
tree | a79be2baf6c5839d9f53ca6022260fc78e4e505e /drivers/mfd/wm831x-i2c.c | |
parent | dmaengine: s3c24xx: Simplify code in s3c24xx_dma_tx_status() (diff) | |
download | linux-a90e56e5b1779836132645e3352c7d5b60cddca8.tar.xz linux-a90e56e5b1779836132645e3352c7d5b60cddca8.zip |
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>
Diffstat (limited to 'drivers/mfd/wm831x-i2c.c')
0 files changed, 0 insertions, 0 deletions