]> git.proxmox.com Git - mirror_ubuntu-disco-kernel.git/commit
spi: rspi: Add rspi_data_{out,in,out_in}() helpers
authorGeert Uytterhoeven <geert+renesas@linux-m68k.org>
Fri, 24 Jan 2014 08:43:54 +0000 (09:43 +0100)
committerMark Brown <broonie@linaro.org>
Mon, 27 Jan 2014 20:02:09 +0000 (20:02 +0000)
commit35301c996046243ca6e41d490dea2823f045614c
tree047c5fb2bbe0ed3259a488a18da18d4fe7dc5b07
parent74da76865d57161cadf8f324281f23ed3eb5db9c
spi: rspi: Add rspi_data_{out,in,out_in}() helpers

Add helpers rspi_data_{out,in,out_in}() to write, read, or write and
read data to/from the Data Register, taking care of waiting until data
or space is available in the buffers.

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