From: Ludovic Desroches Date: Thu, 11 Aug 2011 15:25:47 +0000 (+0000) Subject: mmc: atmel-mci: correct sg buffer size evaluation X-Git-Tag: v3.2-rc1~129^2~76 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=341fa4c3affe1171005597847a86e4c26dea8bb1;p=pandora-kernel.git mmc: atmel-mci: correct sg buffer size evaluation Assuming that a sg buffer size is a page size is false so use sg_dma_len. A 4096 bytes can be required with two 2048-bytes sg buffer. Signed-off-by: Ludovic Desroches Signed-off-by: Nicolas Ferre Signed-off-by: Chris Ball --- Reading git-diff-tree failed