spi: rspi: Use core message handling
authorGeert Uytterhoeven <geert+renesas@linux-m68k.org>
Fri, 24 Jan 2014 08:43:52 +0000 (09:43 +0100)
committerSimon Horman <horms@verge.net.au>
Fri, 5 Dec 2014 00:21:22 +0000 (09:21 +0900)
commit88b89dfc7f2c37bfe5517e2d420e470219be0d84
treeb231716b25074d51310a919b6430837e97559dbf
parent71d3521aa6369819931381d23ce52b84c056c8d2
spi: rspi: Use core message handling

Let the generic SPI core handle SPI messages, calling into our
rspi_transfer_one() method.

rspi_assert_ssl() and rspi_negate_ssl() are absorbed into
rspi_prepare_message() and rspi_unprepare_message(), as they actually
enable/disable the whole SPI function, instead of just (de)asserting the
chip select line.

Signed-off-by: Geert Uytterhoeven <geert+renesas@linux-m68k.org>
Signed-off-by: Mark Brown <broonie@linaro.org>
(cherry picked from commit 79d2349542f38663c3096f389115b1f131d6e564)
Signed-off-by: Simon Horman <horms+renesas@verge.net.au>
drivers/spi/spi-rspi.c