commit | 8449fd76deb9ac67a15a6fb8ead7bb4595d019d2 | [log] [tgz] |
---|---|---|
author | Geert Uytterhoeven <geert+renesas@linux-m68k.org> | Fri Jan 24 09:43:56 2014 +0100 |
committer | Mark Brown <broonie@linaro.org> | Mon Jan 27 20:02:10 2014 +0000 |
tree | 864415240e91e054adb2fcf1e6f2caa490170891 | |
parent | eb557f75269e82dd26a79be536eca223ddc3eaf7 [diff] |
spi: rspi: Merge rspi_send_pio() and rspi_receive_pio() rspi_send_pio() and rspi_receive_pio() are very similar: - the former only sends data, using TX Only Mode, - the latter sends and receives full duplex data to/from the hardware, but uses dummy transmit data. Merge them into rspi_transfer_out_in(), now supporting full duplex if needed. Signed-off-by: Geert Uytterhoeven <geert+renesas@linux-m68k.org> Signed-off-by: Mark Brown <broonie@linaro.org>