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)
commitbf83fd6402a856eeb9a22c364c50ccf9bbdf9b17
tree905fe272f9d08fff5e4483294b8e96c6b26e59e6
parentd77ec5df47696300b9498e6973dcc34b40de8d27
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 <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
This page took 0.024157 seconds and 5 git commands to generate.