aboutsummaryrefslogtreecommitdiffstats
path: root/scripts
diff options
context:
space:
mode:
authorChristophe Leroy <christophe.leroy@c-s.fr>2018-12-07 13:07:55 +0000
committerLinus Walleij <linus.walleij@linaro.org>2018-12-21 09:23:45 +0100
commitabf221d2f51b8ce7b9959a8953f880a8b0a1400d (patch)
treea894dff1b03d8d9a526a0f57a378a60fab1b0984 /scripts
parentgpio: gpio-omap: Revert deferred wakeup quirk handling for regressions (diff)
downloadlinux-dev-abf221d2f51b8ce7b9959a8953f880a8b0a1400d.tar.xz
linux-dev-abf221d2f51b8ce7b9959a8953f880a8b0a1400d.zip
gpio: max7301: fix driver for use with CONFIG_VMAP_STACK
spi_read() and spi_write() require DMA-safe memory. When CONFIG_VMAP_STACK is selected, those functions cannot be used with buffers on stack. This patch replaces calls to spi_read() and spi_write() by spi_write_then_read() which doesn't require DMA-safe buffers. Fixes: 0c36ec314735 ("gpio: gpio driver for max7301 SPI GPIO expander") Cc: <stable@vger.kernel.org> Signed-off-by: Christophe Leroy <christophe.leroy@c-s.fr> Signed-off-by: Linus Walleij <linus.walleij@linaro.org>
Diffstat (limited to 'scripts')
0 files changed, 0 insertions, 0 deletions