commit | 341fa4c3affe1171005597847a86e4c26dea8bb1 | [log] [tgz] |
---|---|---|
author | Ludovic Desroches <ludovic.desroches@atmel.com> | Thu Aug 11 15:25:47 2011 +0000 |
committer | Chris Ball <cjb@laptop.org> | Wed Oct 26 15:43:26 2011 -0400 |
tree | e248b1ba0d88f1d1b4fb4e3c3b75627d38fc1420 | |
parent | 1ebbe3d31fd96865b4d4874f3c74fef0e386fb79 [diff] |
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 <ludovic.desroches@atmel.com> Signed-off-by: Nicolas Ferre <nicolas.ferre@atmel.com> Signed-off-by: Chris Ball <cjb@laptop.org>