summaryrefslogtreecommitdiffstats
path: root/drivers/spi/spi-coldfire-qspi.c
diff options
context:
space:
mode:
authorJiwei Sun <jiwei.sun@windriver.com>2019-01-18 04:32:29 +0100
committerMark Brown <broonie@kernel.org>2019-01-28 19:23:04 +0100
commit7aef2b646b24247d880a353e09d4e10614a61cd6 (patch)
tree2044cf9a54f92ee9d7e2c51e64982d405f0ff0bf /drivers/spi/spi-coldfire-qspi.c
parentspi: Kconfig: imx: Update the help text to make it more generic (diff)
downloadlinux-7aef2b646b24247d880a353e09d4e10614a61cd6.tar.xz
linux-7aef2b646b24247d880a353e09d4e10614a61cd6.zip
spi: pl022: add a message state STATE_TIMEOUT for timeout transfer
When transfer timeout, give -EAGAIN to the message's status, and it can make the spi device driver choose repeated transimation or not. And if transfer timeout, output some useful information for tracing the issue. Signed-off-by: Jiwei Sun <jiwei.sun@windriver.com> Reviewed-by: Linus Walleij <linus.walleij@linaro.org> Signed-off-by: Mark Brown <broonie@kernel.org>
Diffstat (limited to 'drivers/spi/spi-coldfire-qspi.c')
0 files changed, 0 insertions, 0 deletions