DMAENGINE: COH 901 318 lli sg offset fix
authorLinus Walleij <linus.walleij@stericsson.com>
Tue, 2 Mar 2010 19:12:56 +0000 (20:12 +0100)
committerDan Williams <dan.j.williams@intel.com>
Tue, 2 Mar 2010 21:17:46 +0000 (14:17 -0700)
commit56a5d3cf21c71963c8fc506e9b9d3f71641d9c71
tree3f793e6f9323fa4d34b71c2f1bb85e0497135207
parent516fd4305e5f5718475e81fe5c17c95888a8157b
DMAENGINE: COH 901 318 lli sg offset fix

This makes the COH 901 318 respect the scatter offset field by using
the sg_phys() rather than the sg_dma_address() so we get a pointer
to the actual data we want to send rather than the beginning of the
buffer. Also initialize the lli:s a bit more thoroughly.

Signed-off-by: Linus Walleij <linus.walleij@stericsson.com>
Signed-off-by: Dan Williams <dan.j.williams@intel.com>
drivers/dma/coh901318_lli.c