commit | 0569a88f3d1ffed94b15569d53872f16e2351099 | [log] [tgz] |
---|---|---|
author | Vignesh R <vigneshr@ti.com> | Mon Apr 25 15:14:00 2016 +0530 |
committer | Mark Brown <broonie@kernel.org> | Mon Apr 25 18:55:57 2016 +0100 |
tree | 5e7497a4ef4d1a75c6feced072337ca824e1db8c | |
parent | d7e2ee257038baeb03baef602500368a51ee9eef [diff] |
spi: return error if kmap'd buffers passed to spi_map_buf() Current spi_map_buf() implementation supports creates sg_table for vmalloc'd and kmalloc'd buffers. Therefore return error if kmap'd buffer (or any other buffer) is passed to spi_map_buf(). Signed-off-by: Vignesh R <vigneshr@ti.com> Signed-off-by: Mark Brown <broonie@kernel.org>