]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commit1e789c85166ffacd0b2b2bf31df55f13c9d27e5a
tree3f793e6f9323fa4d34b71c2f1bb85e0497135207
parentc95f3918b00460d1d14de54595dbd94fd3082035
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