From: Andy Shevchenko Date: Thu, 14 Feb 2013 09:00:18 +0000 (+0200) Subject: dma: coh901318: set residue only if dma is in progress X-Git-Tag: v3.9-rc1~80^2~7 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=9b562639a1dbef847dfc9daa807bd3e7e02ef24f;p=pandora-kernel.git dma: coh901318: set residue only if dma is in progress When status is DMA_SUCCESS the residue should be zero. Otherwise it's a bug. Signed-off-by: Andy Shevchenko Acked-by: Viresh Kumar Cc: Linus Walleij Cc: linux-arm-kernel@lists.infradead.org Signed-off-by: Vinod Koul --- Reading git-diff-tree failed