aboutsummaryrefslogtreecommitdiff
path: root/scripts/gdb/linux/proc.py
diff options
context:
space:
mode:
authorChristophe Leroy <[email protected]>2018-12-07 13:07:55 +0000
committerLinus Walleij <[email protected]>2018-12-21 09:23:45 +0100
commitabf221d2f51b8ce7b9959a8953f880a8b0a1400d (patch)
treea894dff1b03d8d9a526a0f57a378a60fab1b0984 /scripts/gdb/linux/proc.py
parent00ded24c33c586eaaf32764898c56f4a7d8c6d5c (diff)
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: <[email protected]> Signed-off-by: Christophe Leroy <[email protected]> Signed-off-by: Linus Walleij <[email protected]>
Diffstat (limited to 'scripts/gdb/linux/proc.py')
0 files changed, 0 insertions, 0 deletions