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: NPeter Griffin <peter.griffin@linaro.org> Acked-by: NLinus Walleij <linus.walleij@linaro.org> Signed-off-by: NVinod Koul <vinod.koul@intel.com>
Showing
想要评论请 注册 或 登录