diff options
| author | Ludovic Desroches <[email protected]> | 2011-08-11 15:25:47 +0000 |
|---|---|---|
| committer | Chris Ball <[email protected]> | 2011-10-26 19:43:26 +0000 |
| 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 | kernel-341fa4c3affe1171005597847a86e4c26dea8bb1.tar.gz kernel-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 <[email protected]>
Signed-off-by: Nicolas Ferre <[email protected]>
Signed-off-by: Chris Ball <[email protected]>
Diffstat (limited to 'lib/fault-inject.c')
0 files changed, 0 insertions, 0 deletions
