From: Wolfgang Muees Date: Fri, 5 Mar 2010 21:43:40 +0000 (-0800) Subject: mmc: at91_mci: use one coherent DMA buffer X-Git-Tag: v2.6.34-rc1~79 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=3780d90602dfef6df3d8b39b203d6bf7fb99f22a;p=pandora-kernel.git 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 Signed-off-by: Nicolas Ferre Cc: Andrew Victor Cc: Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds --- Reading git-diff-tree failed