OpenCloudOS-Kernel/drivers/crypto/hisilicon
Weili Qian 3f9dd4c802 crypto: hisilicon/qm - fix incorrect return value of hisi_qm_resume()
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>
2021-12-11 16:49:18 +11:00
..
hpre crypto: hisilicon - modify the value of engine type rate 2021-11-26 16:25:17 +11:00
sec crypto: hisilicon/sec - use the correct print format 2021-04-16 21:16:33 +10:00
sec2 crypto: hisilicon - modify the value of engine type rate 2021-11-26 16:25:17 +11:00
trng crypto: hisilicon/trng - add version to adapt new algorithm 2021-04-16 21:16:31 +10:00
zip crypto: hisilicon - modify the value of engine type rate 2021-11-26 16:25:17 +11: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() 2021-12-11 16:49:18 +11: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