spi: spi-davinci: Fix direction in dma_map_single()
commit 89c66ee8 upstream. Commit 048177ce (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> Signed-off-by:
Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Showing
Please register or sign in to comment