[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <CACRpkdaX5O6j85L83KyMN3dxjkzrgSdhMRm5BwFb58fdMdA2+w@mail.gmail.com>
Date: Mon, 21 Jan 2019 14:57:35 +0100
From: Linus Walleij <linus.walleij@...aro.org>
To: Jiwei Sun <jiwei.sun@...driver.com>
Cc: Linux ARM <linux-arm-kernel@...ts.infradead.org>,
Mark Brown <broonie@...nel.org>,
linux-spi <linux-spi@...r.kernel.org>,
"linux-kernel@...r.kernel.org" <linux-kernel@...r.kernel.org>
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@...driver.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@...driver.com>
This looks very good and helpful!
Reviewed-by: Linus Walleij <linus.walleij@...aro.org>
Yours,
Linus Walleij
Powered by blists - more mailing lists