commit | b1b8153cf0aeeb7ae6d4f012b8beb2dcfc92c68a | [log] [tgz] |
---|---|---|
author | Vignesh R <vigneshr@ti.com> | Wed Aug 17 15:22:36 2016 +0530 |
committer | Mark Brown <broonie@kernel.org> | Wed Aug 17 12:24:01 2016 +0100 |
tree | b9fb07d7e31ff24bc7fb47138129548750d9612f | |
parent | 29b4817d4018df78086157ea3a55c1d9424a7cfc [diff] |
spi: Add support to handle kmap'd buffers in spi_map_buf() JFFS2 FS might sometime provide kmap'd buffers as destination buffers to read data from flash. Update spi_map_buf() function to generate sg_list for such buffers, so that SPI controllers drivers can use DMA to read data into such buffers. Signed-off-by: Vignesh R <vigneshr@ti.com> Signed-off-by: Mark Brown <broonie@kernel.org>