From: Jan Nikitenko Date: Mon, 1 Dec 2008 21:13:56 +0000 (-0800) Subject: spi: au1550_spi full duplex dma fix X-Git-Tag: v2.6.28-rc7~15 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=4e253d23003b54c88d0919d6088be74f00eec3c7;p=pandora-kernel.git spi: au1550_spi full duplex dma fix Fix unsafe order in dma mapping operation: always flush data from the cache *BEFORE* invalidating it, to allow full duplex transfers where the same buffer may be used for both writes and reads. Tested with mmc-spi. Signed-off-by: Jan Nikitenko Signed-off-by: David Brownell Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds --- Reading git-diff-tree failed