Re: [PATCH] crypto: hisilicon/qm - fix incorrect return value of hisi_qm_resume()

From: Herbert Xu
Date: Sat Dec 11 2021 - 00:56:54 EST


On Sat, Dec 04, 2021 at 06:43:01PM +0800, Weili Qian wrote:
> When hisi_qm_resume() returns 0, it indicates that the device has started
> successfully. If the device fails to start, hisi_qm_resume() needs to
> return the actual error code to the caller instead of 0.
>
> Fixes: d7ea53395b72 ("crypto: hisilicon - add runtime PM ops")
> Signed-off-by: Weili Qian <qianweili@xxxxxxxxxx>
> ---
> drivers/crypto/hisilicon/qm.c | 2 +-
> 1 file changed, 1 insertion(+), 1 deletion(-)

Patch applied. Thanks.
--
Email: Herbert Xu <herbert@xxxxxxxxxxxxxxxxxxx>
Home Page: http://gondor.apana.org.au/~herbert/
PGP Key: http://gondor.apana.org.au/~herbert/pubkey.txt