diff options
author | Nam Cao <namcao@linutronix.de> | 2023-11-29 17:31:56 +0100 |
---|---|---|
committer | Mark Brown <broonie@kernel.org> | 2023-11-30 13:02:40 +0100 |
commit | 9b2ef250b31d46f7ef522bd1bd84942f998bb3f9 (patch) | |
tree | 1f08fa420581141dcd2e207e4c7b557fc1f9b469 /MAINTAINERS | |
parent | spi: introduce SPI_TRANS_FAIL_IO for error reporting (diff) | |
download | linux-9b2ef250b31d46f7ef522bd1bd84942f998bb3f9.tar.xz linux-9b2ef250b31d46f7ef522bd1bd84942f998bb3f9.zip |
spi: spl022: switch to use default spi_transfer_one_message()
Except for polling mode, this driver's transfer_one_message() makes use
of interrupt handler and tasklet. This is problematic because
spi_transfer_delay_exec(), who may sleep, is called in interrupt handler
and tasklet. This causes the following warning:
BUG: sleeping function called from invalid context at drivers/spi/spi.c:1428
Switch to use the default spi_transfer_one_message() instead, which
calls spi_transfer_delay_exec() appropriately.
Signed-off-by: Nam Cao <namcao@linutronix.de>
Reviewed-by: Linus Walleij <linus.walleij@linaro.org>
Link: https://lore.kernel.org/r/ae1940abd6ff6a9e77b4373cff60007c641a0c6c.1701274975.git.namcao@linutronix.de
Signed-off-by: Mark Brown <broonie@kernel.org>
Diffstat (limited to 'MAINTAINERS')
0 files changed, 0 insertions, 0 deletions