From 8393fa787bf63c05cb6f9cf0a58ba1ea213c3f01 Mon Sep 17 00:00:00 2001 From: Geert Uytterhoeven Date: Mon, 2 Jun 2014 15:38:13 +0200 Subject: [PATCH] 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-format-patch failed