]> git.baikalelectronics.ru Git - kernel.git/commit
spi: rspi: Pass sg_tables instead of spi_tranfer to rspi_*_dma()
authorGeert Uytterhoeven <geert+renesas@glider.be>
Mon, 2 Jun 2014 13:38:14 +0000 (15:38 +0200)
committerMark Brown <broonie@linaro.org>
Mon, 2 Jun 2014 14:49:35 +0000 (15:49 +0100)
commit706fe2ceb5323c4b66e5db20642b76bc73ae2c24
treed7ce366d319b52d089eacc8fc367bb087813d025
parent335de23ba0cc920e7b3a2e7877940d44e71753e1
spi: rspi: Pass sg_tables instead of spi_tranfer to rspi_*_dma()

The DMA routines only need access to the scatter-gather tables inside the
spi_transfer structures, hence just pass those.

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