[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <CACRpkdYH91rgE7wF17pDi58z9Rq68JqNxbR2XMQ0=si_w7aCnA@mail.gmail.com>
Date: Sun, 5 Mar 2023 22:51:32 +0100
From: Linus Walleij <linus.walleij@...aro.org>
To: Herbert Xu <herbert@...dor.apana.org.au>
Cc: Lionel Debieve <lionel.debieve@...s.st.com>,
Li kunyu <kunyu@...china.com>, davem@...emloft.net,
linux-arm-kernel@...ts.infradead.org, linux-crypto@...r.kernel.org,
linux-kernel@...r.kernel.org,
linux-stm32@...md-mailman.stormreply.com, mcoquelin.stm32@...il.com
Subject: Re: [v5 PATCH 2/7] crypto: stm32 - Move polling into do_one_request
On Sat, Mar 4, 2023 at 10:37 AM Herbert Xu <herbert@...dor.apana.org.au> wrote:
> There is no need to poll separate for update and final. We could
> merge them into do_one_request.
>
> Also fix the error handling so that we don't poll (and overwrite
> the error) when an error has already occurred.
>
> Signed-off-by: Herbert Xu <herbert@...dor.apana.org.au>
Works like a charm and passes all tests.
Reviewed-by: Linus Walleij <linus.walleij@...aro.org>
Tested-by: Linus Walleij <linus.walleij@...aro.org>
Yours,
Linus Walleij
Powered by blists - more mailing lists