diff options
| author | Geert Uytterhoeven <geert+renesas@glider.be> | 2014-06-02 15:38:07 +0200 |
|---|---|---|
| committer | Mark Brown <broonie@linaro.org> | 2014-06-02 15:49:33 +0100 |
| commit | 6837b8e91d2a080293c30d5fe42d9692390091fa (patch) | |
| tree | 81a3f605a81ff224e0267364461245c47cf2d85d /lib/parser.c | |
| parent | b42e03596db3d45980c976c8124fdc323f031dc4 (diff) | |
spi: rspi: Extract rspi_pio_transfer()
The various PIO loops are very similar. Consolidate into a single
function rspi_pio_transfer().
Both buffer pointers can be NULL, as RSPI supports TX-only mode, and
Dual/Quad SPI Transfers are unidirectional.
Signed-off-by: Geert Uytterhoeven <geert+renesas@glider.be>
Signed-off-by: Mark Brown <broonie@linaro.org>
Diffstat (limited to 'lib/parser.c')
0 files changed, 0 insertions, 0 deletions
