commit | 082086f2ce53c69260396e977d29972128def1d7 | [log] [tgz] |
---|---|---|
author | Linus Walleij <linus.walleij@stericsson.com> | Wed Dec 22 23:13:37 2010 +0100 |
committer | Grant Likely <grant.likely@secretlab.ca> | Thu Dec 23 21:06:46 2010 -0700 |
tree | f06554960ae266151e300193608f543863318783 | |
parent | b729889686afb7d4366e07fe9c2f7a2737166462 [diff] |
spi/pl022: pass the returned sglen to the DMA engine The sglen return by the dma_map_sg() should be passed to the DMA engine, not the one passed in. If we one day have a DMA mapper that can coalesce entries, this will bug due to a too large number of entries being passed in. Reported-by: Russell King <linux@arm.linux.org.uk> Signed-off-by: Linus Walleij <linus.walleij@stericsson.com> Signed-off-by: Grant Likely <grant.likely@secretlab.ca>