spi: rspi: Extract rspi_request_dma_chan()
authorGeert Uytterhoeven <geert+renesas@glider.be>
Mon, 2 Jun 2014 13:38:09 +0000 (15:38 +0200)
committerMark Brown <broonie@linaro.org>
Mon, 2 Jun 2014 14:49:33 +0000 (15:49 +0100)
commit65bf220571f131a7c3a564a88793bd0f16fd7c96
tree112cd6651ff046bc62cba333ad01ee5c7bfdd857
parent27e105a6006b8ce1b55709c5e24f63959981475d
spi: rspi: Extract rspi_request_dma_chan()

Setup of the receive and transmit DMA channels is very similar, so let's
consolidate.

Signed-off-by: Geert Uytterhoeven <geert+renesas@glider.be>
Signed-off-by: Mark Brown <broonie@linaro.org>
drivers/spi/spi-rspi.c