diff options
author | Wolfgang Muees <wolfgang.mues@auerswald.de> | 2010-03-05 13:43:40 -0800 |
---|---|---|
committer | Linus Torvalds <torvalds@linux-foundation.org> | 2010-03-06 11:26:41 -0800 |
commit | 3780d90602dfef6df3d8b39b203d6bf7fb99f22a (patch) | |
tree | a61cd2a3e8925e0a60e6fb21a973154a9c63d45b /drivers/mmc/host/sdhci-pci.c | |
parent | a04ac5b9b45a7adec7d3ee3968e677b6e4b98f25 (diff) | |
download | blackbird-op-linux-3780d90602dfef6df3d8b39b203d6bf7fb99f22a.tar.gz blackbird-op-linux-3780d90602dfef6df3d8b39b203d6bf7fb99f22a.zip |
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 'drivers/mmc/host/sdhci-pci.c')
0 files changed, 0 insertions, 0 deletions