diff options
author | Jiwei Sun <jiwei.sun@windriver.com> | 2019-01-18 11:32:29 +0800 |
---|---|---|
committer | Mark Brown <broonie@kernel.org> | 2019-01-28 18:23:04 +0000 |
commit | 7aef2b646b24247d880a353e09d4e10614a61cd6 (patch) | |
tree | 2044cf9a54f92ee9d7e2c51e64982d405f0ff0bf /kernel | |
parent | 2e236bafab11b063069a8b12793f1986862963b0 (diff) |
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 'kernel')
0 files changed, 0 insertions, 0 deletions