diff options
author | Geert Uytterhoeven <geert+renesas@glider.be> | 2014-06-02 15:38:15 +0200 |
---|---|---|
committer | Mark Brown <broonie@linaro.org> | 2014-06-02 15:49:35 +0100 |
commit | c52fb6d63425248bd4152451a2cc74b7df8fa989 (patch) | |
tree | 369084deb2c83d773f84b6a320186094244e5b56 /kernel/auditsc.c | |
parent | e4b52dc4625ee739195189d40c6ddc7d55ddf312 (diff) | |
download | linux-stable-c52fb6d63425248bd4152451a2cc74b7df8fa989.tar.gz linux-stable-c52fb6d63425248bd4152451a2cc74b7df8fa989.tar.bz2 linux-stable-c52fb6d63425248bd4152451a2cc74b7df8fa989.zip |
spi: rspi: Merge rspi_*_dma() into rspi_dma_transfer()
rspi_send_dma() and rspi_send_receive_dma() are very similar. Consolidate
into a single function rspi_dma_transfer(), and add missing checks for
dmaengine_submit() failures.
Both sg_table pointer parameters can be NULL, as RSPI supports TX-only
mode, and unidirectional DMA transfers will also be needed later for
Dual/Quad DMA support.
Signed-off-by: Geert Uytterhoeven <geert+renesas@glider.be>
Signed-off-by: Mark Brown <broonie@linaro.org>
Diffstat (limited to 'kernel/auditsc.c')
0 files changed, 0 insertions, 0 deletions