Re: [PATCH v5 03/18] crypto: sun8i-ss: support hash algorithms

Herbert Xu
2020-08-28T06:48:31Z

On Fri, Aug 21, 2020 at 01:43:20PM +0000, Corentin Labbe wrote:
>
> + err = pm_runtime_get_sync(op->ss->dev);
> + if (err < 0)
> + goto error_pm;
> + return 0;

You need to handle the error case like this:

https://patchwork.kernel.org/patch/11728595/

Cheers,
--
Email: Herbert Xu <herbert@gondor.apana.org.au>
Home Page: http://gondor.apana.org.au/~herbert/
PGP Key: http://gondor.apana.org.au/~herbert/pubkey.txt