From: Linus Walleij Date: Wed, 22 Dec 2010 22:13:37 +0000 (+0100) Subject: spi/pl022: pass the returned sglen to the DMA engine X-Git-Tag: v2.6.38-rc1~454^2~13 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=082086f2ce53c69260396e977d29972128def1d7;p=pandora-kernel.git 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 Signed-off-by: Linus Walleij Signed-off-by: Grant Likely --- Reading git-diff-tree failed