spi: sirf: fix spi full-duplex DMA transferring issue
authorQipan Li <Qipan.Li@csr.com>
Mon, 14 Apr 2014 06:30:01 +0000 (14:30 +0800)
committerMark Brown <broonie@linaro.org>
Mon, 14 Apr 2014 20:04:59 +0000 (21:04 +0100)
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 <Qipan.Li@csr.com>
Signed-off-by: Barry Song <Baohua.Song@csr.com>
Signed-off-by: Mark Brown <broonie@linaro.org>
drivers/spi/spi-sirf.c

Simple merge