From: Geert Uytterhoeven Date: Mon, 2 Jun 2014 13:38:13 +0000 (+0200) Subject: spi: rspi: Move RSPI-specific setup out of DMA routines X-Git-Tag: omap-for-v3.16/fixes-against-rc1~39^2~29^2~1^4~6 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=8393fa787bf63c05cb6f9cf0a58ba1ea213c3f01;p=pandora-kernel.git 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 Signed-off-by: Mark Brown --- Reading git-diff-tree failed