Messages in this thread | | | From | Linus Walleij <> | Date | Mon, 21 Jan 2019 14:57:35 +0100 | Subject | Re: [PATCH]spi: pl022: add a message state STATE_TIMEOUT for timeout transfer |
| |
On Fri, Jan 18, 2019 at 4:33 AM Jiwei Sun <jiwei.sun@windriver.com> 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@windriver.com>
This looks very good and helpful!
Reviewed-by: Linus Walleij <linus.walleij@linaro.org>
Yours, Linus Walleij
| |