spi: rspi: Abstract 8/16-bit Data Register access
authorGeert Uytterhoeven <geert+renesas@linux-m68k.org>
Fri, 24 Jan 2014 08:43:53 +0000 (09:43 +0100)
committerSimon Horman <horms@verge.net.au>
Fri, 5 Dec 2014 00:21:22 +0000 (09:21 +0900)
commit094445329680e7324d06d58b9e5b78ff9af88040
treeca02bc86681e8d9f248247cde08e7882c72aa133
parent88b89dfc7f2c37bfe5517e2d420e470219be0d84
spi: rspi: Abstract 8/16-bit Data Register access

Add rspi_{write,read}_data(), to abstract 8-bit (QSPI, and RSPI on RZ/A1H)
versus 16-bit (RSPI) Data Register access.

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