OSDN Git Service

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)
committerMark Brown <broonie@linaro.org>
Mon, 27 Jan 2014 20:02:09 +0000 (20:02 +0000)
commit74da76865d57161cadf8f324281f23ed3eb5db9c
treed2d038d5ffbb99cfc0b632bd0dbfae14ef5da581
parent79d2349542f38663c3096f389115b1f131d6e564
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>
drivers/spi/spi-rspi.c