[v5 PATCH 2/7] crypto: stm32 - Move polling into do_one_request

Linus Walleij linus.walleij at linaro.org
Sun Mar 5 13:51:32 PST 2023


On Sat, Mar 4, 2023 at 10:37 AM Herbert Xu <herbert at gondor.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 at gondor.apana.org.au>

Works like a charm and passes all tests.
Reviewed-by: Linus Walleij <linus.walleij at linaro.org>
Tested-by: Linus Walleij <linus.walleij at linaro.org>

Yours,
Linus Walleij



More information about the linux-arm-kernel mailing list