summaryrefslogtreecommitdiffstats
path: root/drivers/spi/spi-fsl-lib.h
diff options
context:
space:
mode:
authorFabien Parent <fparent@baylibre.com>2017-02-23 19:01:56 +0100
committerMark Brown <broonie@kernel.org>2017-03-07 15:10:25 +0100
commit8aedbf580d21121d2a032e4c8ea12d8d2d85e275 (patch)
tree5fd78767ff1e173ddcec72d1673366204031838f /drivers/spi/spi-fsl-lib.h
parentc1ae3cfa0e89fa1a7ecc4c99031f5e9ae99d9201 (diff)
downloadop-kernel-dev-8aedbf580d21121d2a032e4c8ea12d8d2d85e275.zip
op-kernel-dev-8aedbf580d21121d2a032e4c8ea12d8d2d85e275.tar.gz
spi: davinci: Use SPI framework to handle DMA mapping
Uppers layers like MTD can pass vmalloc'd buffers to the SPI driver, and the current implementation will fail to map these kind of buffers. The SPI framework is able to detect the best way to handle and map buffers. This commit updates the davinci SPI driver in order to use the SPI framework to handle the DMA mapping of buffers coming from an upper layer. Signed-off-by: Fabien Parent <fparent@baylibre.com> Signed-off-by: Frode Isaksen <fisaksen@baylibre.com> Signed-off-by: Mark Brown <broonie@kernel.org>
Diffstat (limited to 'drivers/spi/spi-fsl-lib.h')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud