commit | 8393fa787bf63c05cb6f9cf0a58ba1ea213c3f01 | [log] [tgz] |
---|---|---|
author | Geert Uytterhoeven <geert+renesas@glider.be> | Mon Jun 02 15:38:13 2014 +0200 |
committer | Mark Brown <broonie@linaro.org> | Mon Jun 02 15:49:34 2014 +0100 |
tree | 5833dd9ea1953097d4062b12fc68f1b350701e0d | |
parent | 2f777ec91aa0623e058c43dd4aaf0b3325d3c3e8 [diff] |
spi: rspi: Move RSPI-specific setup out of DMA routines Refactor RSPI (on SH) DMA handling to make it reusable for other RSPI implementations: - Call the DMA routines after configuring the TX Mode bit and after calling rspi_receive_init(), so these RSPI-specific operations can be removed from the DMA routines, - Absorb rspi_transfer_out_in() into rspi_transfer_one(). Signed-off-by: Geert Uytterhoeven <geert+renesas@glider.be> Signed-off-by: Mark Brown <broonie@linaro.org>