summaryrefslogtreecommitdiffstats
path: root/mm/page_alloc.c
diff options
context:
space:
mode:
authorVignesh R <vigneshr@ti.com>2016-06-08 08:48:31 +0200
committerMark Brown <broonie@kernel.org>2016-06-08 11:26:46 +0200
commitf4502dd1da9b060a49d539eb754ff86cb97b89f0 (patch)
tree257cf2635e5b8931b06e331f678490a71817100d /mm/page_alloc.c
parentLinux 4.7-rc1 (diff)
downloadlinux-f4502dd1da9b060a49d539eb754ff86cb97b89f0.tar.xz
linux-f4502dd1da9b060a49d539eb754ff86cb97b89f0.zip
spi: Add DMA support for spi_flash_read()
Few SPI devices provide accelerated read interfaces to read from SPI-NOR flash devices. These hardwares also support DMA to transfer data from flash to memory either via mem-to-mem DMA or dedicated slave DMA channels. Hence, add support for DMA in order to improve throughput and reduce CPU load. Use spi_map_buf() to get sg table for the buffer and pass it to SPI driver. Signed-off-by: Vignesh R <vigneshr@ti.com> Signed-off-by: Mark Brown <broonie@kernel.org>
Diffstat (limited to 'mm/page_alloc.c')
0 files changed, 0 insertions, 0 deletions