Re: [PATCH]spi: pl022: add a message state STATE_TIMEOUT for timeout transfer

2019-01-21 Thread Linus Walleij
On Fri, Jan 18, 2019 at 4:33 AM Jiwei Sun wrote: > 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 Su

[PATCH]spi: pl022: add a message state STATE_TIMEOUT for timeout transfer

2019-01-17 Thread Jiwei Sun
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 --- drivers/spi/spi-pl022.c | 30 +++