linux/drivers/crypto/hisilicon
Weili Qian 5f9c97a0e6 crypto: hisilicon/qm - add device status check when start fails
In function 'hisi_qm_resume', if the device fails to be started,
directly returning error code will cause the device to be unavailable.
However, the failure may be caused by device error, which will be
reported to the driver, and driver can reset and restart device.
Therefore, check device status instead of returning error code
directly. Returns 0 if device error has occurred, otherwise returns
error code.

Signed-off-by: Weili Qian <qianweili@huawei.com>
Signed-off-by: Herbert Xu <herbert@gondor.apana.org.au>
2022-11-25 17:39:19 +08:00
..
hpre crypto: hisilicon/qm - modify the process of regs dfx 2022-11-18 16:59:34 +08:00
sec crypto: hisilicon - Kunpeng916 crypto driver don't sleep when in softirq 2022-07-08 15:21:16 +08:00
sec2 crypto: hisilicon/sec - remove continuous blank lines 2022-11-18 17:00:23 +08:00
trng crypto: hisilicon/trng - fix local variable type 2022-06-17 17:19:20 +08:00
zip crypto: hisilicon/qm - modify the process of regs dfx 2022-11-18 16:59:34 +08:00
debugfs.c crypto: hisilicon/qm - the command dump process is modified 2022-11-18 17:00:22 +08:00
Kconfig crypto: hisilicon/sec - add sm4 generic selection 2022-05-06 18:16:55 +08:00
Makefile crypto: hisilicon/qm - split a debugfs.c from qm 2022-11-18 17:00:22 +08:00
qm_common.h crypto: hisilicon/qm - split a debugfs.c from qm 2022-11-18 17:00:22 +08:00
qm.c crypto: hisilicon/qm - add device status check when start fails 2022-11-25 17:39:19 +08:00
sgl.c crypto: hisilicon/sgl - align the hardware sgl dma address 2022-04-15 16:34:30 +08:00