Skip to content
Unverified Commit 7aef2b64 authored by Jiwei Sun's avatar Jiwei Sun Committed by Mark Brown
Browse files

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: default avatarJiwei Sun <jiwei.sun@windriver.com>
Reviewed-by: default avatarLinus Walleij <linus.walleij@linaro.org>
Signed-off-by: default avatarMark Brown <broonie@kernel.org>
parent 2e236baf
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment