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

From: Linus Walleij
Date: Mon Jan 21 2019 - 08:57:53 EST


On Fri, Jan 18, 2019 at 4:33 AM Jiwei Sun <jiwei.sun@xxxxxxxxxxxxx> 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 Sun <jiwei.sun@xxxxxxxxxxxxx>

This looks very good and helpful!

Reviewed-by: Linus Walleij <linus.walleij@xxxxxxxxxx>

Yours,
Linus Walleij