DMAENGINE: COH 901 318 fix bytesleft
authorLinus Walleij <linus.walleij@stericsson.com>
Thu, 4 Mar 2010 13:40:30 +0000 (14:40 +0100)
committerDan Williams <dan.j.williams@intel.com>
Wed, 24 Mar 2010 21:24:44 +0000 (14:24 -0700)
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 <linus.walleij@stericsson.com>
Signed-off-by: Dan Williams <dan.j.williams@intel.com>

No differences found