diff options
author | Vignesh R <vigneshr@ti.com> | 2016-04-25 12:44:00 +0300 |
---|---|---|
committer | Mark Brown <broonie@kernel.org> | 2016-04-25 20:55:57 +0300 |
commit | 0569a88f3d1ffed94b15569d53872f16e2351099 (patch) | |
tree | 5e7497a4ef4d1a75c6feced072337ca824e1db8c /drivers/spi/spi-bitbang.c | |
parent | d7e2ee257038baeb03baef602500368a51ee9eef (diff) | |
download | linux-0569a88f3d1ffed94b15569d53872f16e2351099.tar.xz |
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>
Diffstat (limited to 'drivers/spi/spi-bitbang.c')
0 files changed, 0 insertions, 0 deletions