From: Qipan Li Date: Mon, 14 Apr 2014 06:30:01 +0000 (+0800) Subject: spi: sirf: fix spi full-duplex DMA transferring issue X-Git-Tag: omap-for-v3.16/fixes-against-rc1~39^2~29^2~1^5~2 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=bf83fd6402a856eeb9a22c364c50ccf9bbdf9b17;p=pandora-kernel.git spi: sirf: fix spi full-duplex DMA transferring issue sometimes t->tx can be equal with t->rx. for example, spidev will make tx and rx point to spidev->buffer at the same time. currently, for this case, we map the buffer BIDIRECTION to fix the cache consistency. Signed-off-by: Qipan Li Signed-off-by: Barry Song Signed-off-by: Mark Brown --- Reading git-diff-tree failed