diff options
author | Wolfgang Muees <wolfgang.mues@auerswald.de> | 2010-03-05 21:43:40 (GMT) |
---|---|---|
committer | Linus Torvalds <torvalds@linux-foundation.org> | 2010-03-06 19:26:41 (GMT) |
commit | 3780d90602dfef6df3d8b39b203d6bf7fb99f22a (patch) | |
tree | a61cd2a3e8925e0a60e6fb21a973154a9c63d45b /crypto | |
parent | a04ac5b9b45a7adec7d3ee3968e677b6e4b98f25 (diff) | |
download | linux-3780d90602dfef6df3d8b39b203d6bf7fb99f22a.tar.xz |
mmc: at91_mci: use one coherent DMA buffer
The TX DMA buffer is allocated only once, because the
allocation/deallocation of the buffer for EACH chunk of data is
time-consuming and prone to memory fragmentation.
Using a coherent DMA buffer avoids extra data cache calls.
[nicolas.ferre@atmel.com: coding style modifications]
Signed-off-by: Wolfgang Muees <wolfgang.mues@auerswald.de>
Signed-off-by: Nicolas Ferre <nicolas.ferre@atmel.com>
Cc: Andrew Victor <avictor.za@gmail.com>
Cc: <linux-mmc@vger.kernel.org>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
Diffstat (limited to 'crypto')
0 files changed, 0 insertions, 0 deletions