aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/mmc/core/core.c
diff options
context:
space:
mode:
authorLudovic Desroches <ludovic.desroches@atmel.com>2011-08-11 15:25:47 +0000
committerChris Ball <cjb@laptop.org>2011-10-26 15:43:26 -0400
commit341fa4c3affe1171005597847a86e4c26dea8bb1 (patch)
treee248b1ba0d88f1d1b4fb4e3c3b75627d38fc1420 /drivers/mmc/core/core.c
parentmmc: atmel-mci: use ATMEL_PDC_SCND_BUF_OFF instead of a literal value (diff)
downloadlinux-dev-341fa4c3affe1171005597847a86e4c26dea8bb1.tar.xz
linux-dev-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 'drivers/mmc/core/core.c')
0 files changed, 0 insertions, 0 deletions