linux-stable/drivers/crypto/hisilicon
Weili Qian 8b2b880549 crypto: hisilicon/qm - fix incorrect return value of hisi_qm_resume()
[ Upstream commit 3f9dd4c802 ]

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: d7ea53395b ("crypto: hisilicon - add runtime PM ops")
Signed-off-by: Weili Qian <qianweili@huawei.com>
Signed-off-by: Herbert Xu <herbert@gondor.apana.org.au>
Signed-off-by: Sasha Levin <sashal@kernel.org>
2022-01-27 11:03:35 +01:00
..
hpre crypto: hisilicon - support runtime PM for accelerator device 2021-08-21 15:44:58 +08:00
sec crypto: hisilicon/sec - use the correct print format 2021-04-16 21:16:33 +10:00
sec2 crypto: hisilicon - change parameter passing of debugfs function 2021-08-21 15:44:58 +08:00
trng crypto: hisilicon/trng - add version to adapt new algorithm 2021-04-16 21:16:31 +10:00
zip crypto: hisilicon - change parameter passing of debugfs function 2021-08-21 15:44:58 +08:00
Kconfig crypto: hisilicon/hpre - fix Kconfig 2021-03-26 20:15:57 +11:00
Makefile crypto: hisilicon/trng - add HiSilicon TRNG driver support 2020-11-27 17:13:43 +11:00
qm.c crypto: hisilicon/qm - fix incorrect return value of hisi_qm_resume() 2022-01-27 11:03:35 +01:00
qm.h crypto: hisilicon - support runtime PM for accelerator device 2021-08-21 15:44:58 +08:00
sgl.c crypto: hisilicon/sgl - fix the sg buf unmap 2021-04-16 21:16:34 +10:00