From: Andrea Paterniani Date: Wed, 19 Nov 2008 23:36:26 +0000 (-0800) Subject: spi_imx: full duplex dma corruption bugfix X-Git-Tag: v2.6.28-rc6~35 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=3b45d6380c392e402adc460e4ccf7d41e0caf82a;p=pandora-kernel.git spi_imx: full duplex dma corruption bugfix 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. Signed-off-by: Andrea Paterniani Signed-off-by: David Brownell Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds --- Reading git-diff-tree failed