diff options
author | 2011-08-11 15:25:47 +0000 | |
---|---|---|
committer | 2011-10-26 15:43:26 -0400 | |
commit | 341fa4c3affe1171005597847a86e4c26dea8bb1 (patch) | |
tree | e248b1ba0d88f1d1b4fb4e3c3b75627d38fc1420 /lib/fault-inject.c | |
parent | mmc: atmel-mci: use ATMEL_PDC_SCND_BUF_OFF instead of a literal value (diff) | |
download | wireguard-linux-341fa4c3affe1171005597847a86e4c26dea8bb1.tar.xz wireguard-linux-341fa4c3affe1171005597847a86e4c26dea8bb1.zip |
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>
Diffstat (limited to 'lib/fault-inject.c')
0 files changed, 0 insertions, 0 deletions