diff options
author | Weili Qian <qianweili@huawei.com> | 2021-02-05 18:12:53 +0800 |
---|---|---|
committer | Herbert Xu <herbert@gondor.apana.org.au> | 2021-02-10 17:56:00 +1100 |
commit | 3e9954fe36ad3e254d35cc7da5117c850cbc0e50 (patch) | |
tree | 794cb13dab1b3b3bb2813892b92e40f5660699fc /drivers/crypto/hisilicon/qm.h | |
parent | 6956d8be23871a779bf74085c51efdb76ad6638a (diff) | |
download | lwn-3e9954fe36ad3e254d35cc7da5117c850cbc0e50.tar.gz lwn-3e9954fe36ad3e254d35cc7da5117c850cbc0e50.zip |
crypto: hisilicon/qm - removing driver after reset
Add waiting logic for resetting as removing driver,
otherwise call trace will occur due to releasing resource.
Signed-off-by: Weili Qian <qianweili@huawei.com>
Reviewed-by: Zaibo Xu <xuzaibo@huawei.com>
Signed-off-by: Herbert Xu <herbert@gondor.apana.org.au>
Diffstat (limited to 'drivers/crypto/hisilicon/qm.h')
-rw-r--r-- | drivers/crypto/hisilicon/qm.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/crypto/hisilicon/qm.h b/drivers/crypto/hisilicon/qm.h index 8f5a3b9704d6..c3f8b741119a 100644 --- a/drivers/crypto/hisilicon/qm.h +++ b/drivers/crypto/hisilicon/qm.h @@ -230,7 +230,7 @@ struct hisi_qm { struct hisi_qm_status status; const struct hisi_qm_err_ini *err_ini; struct hisi_qm_err_status err_status; - unsigned long reset_flag; + unsigned long misc_ctl; /* driver removing and reset sched */ struct rw_semaphore qps_lock; struct idr qp_idr; |