From: Linus Walleij Date: Thu, 4 Mar 2010 13:40:30 +0000 (+0100) Subject: DMAENGINE: COH 901 318 fix bytesleft X-Git-Tag: v2.6.35-rc1~439^2~13 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=84c8447c544bc7579097649273bc3f4e1b5de6af;p=pandora-kernel.git DMAENGINE: COH 901 318 fix bytesleft This makes the function to get the number of bytes left in the ongoing DMA transaction actually work: the old code did not take neither lli:s nor queued jobs into account. Also fix a missing spinlock while we're at it. Signed-off-by: Linus Walleij Signed-off-by: Dan Williams --- Reading git-diff-tree failed