Searched hist:"7 aef2b646b24247d880a353e09d4e10614a61cd6" (Results 1 – 1 of 1) sorted by relevance
/openbmc/linux/drivers/spi/ |
H A D | spi-pl022.c | diff 7aef2b646b24247d880a353e09d4e10614a61cd6 Thu Jan 17 21:32:29 CST 2019 Jiwei Sun <jiwei.sun@windriver.com> 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>
|