Re: [PATCH 3/8] dmaengine: coh901318: Only calculate residue if txstate exists.

2016-06-08 Thread Linus Walleij
On Tue, Jun 7, 2016 at 7:38 PM, Peter Griffin wrote: > There is no point in calculating the residue if there is no > txstate to store the value. > > Signed-off-by: Peter Griffin Acked-by: Linus Walleij Yours, Linus Walleij ___ Linuxppc-dev mailing l

[PATCH 3/8] dmaengine: coh901318: Only calculate residue if txstate exists.

2016-06-07 Thread Peter Griffin
There is no point in calculating the residue if there is no txstate to store the value. Signed-off-by: Peter Griffin --- drivers/dma/coh901318.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/dma/coh901318.c b/drivers/dma/coh901318.c index c340ca9..c100616 100644 ---