spi: spi-davinci: Fix direction in dma_map_single()
authorChristian Eggers <ceggers@gmx.de>
Mon, 29 Jul 2013 18:54:09 +0000 (20:54 +0200)
committerMark Brown <broonie@linaro.org>
Mon, 29 Jul 2013 19:27:54 +0000 (20:27 +0100)
commit89c66ee890af18500fa4598db300cc07c267f900
tree1976623006443869edaec3f6ae7ca6cac915af72
parent5ae90d8e467e625e447000cb4335c4db973b1095
spi: spi-davinci: Fix direction in dma_map_single()

Commit 048177ce3b3962852fd34a7e04938959271c7e70 (spi: spi-davinci:
convert to DMA engine API) introduced a regression: dma_map_single()
is called with direction DMA_FROM_DEVICE for rx and for tx.

Signed-off-by: Christian Eggers <ceggers@gmx.de>
Acked-by: Matt Porter <mporter@ti.com>
Signed-off-by: Mark Brown <broonie@linaro.org>
Cc: stable@vger.kernel.org # v3.7.x+
drivers/spi/spi-davinci.c