Skip to content
Commit b9ab9d10 authored by Peter Griffin's avatar Peter Griffin Committed by Vinod Koul
Browse files

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: default avatarPeter Griffin <peter.griffin@linaro.org>
Signed-off-by: default avatarVinod Koul <vinod.koul@intel.com>
parent a90e56e5
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment