commit | 7aef2b646b24247d880a353e09d4e10614a61cd6 | [log] [tgz] |
---|---|---|
author | Jiwei Sun <jiwei.sun@windriver.com> | Fri Jan 18 11:32:29 2019 +0800 |
committer | Mark Brown <broonie@kernel.org> | Mon Jan 28 18:23:04 2019 +0000 |
tree | 2044cf9a54f92ee9d7e2c51e64982d405f0ff0bf | |
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>