aboutsummaryrefslogtreecommitdiff
path: root/drivers/crypto/amlogic
diff options
context:
space:
mode:
authorGravatar Yang Shen <shenyang39@huawei.com> 2020-04-03 16:16:42 +0800
committerGravatar Herbert Xu <herbert@gondor.apana.org.au> 2020-04-16 16:49:21 +1000
commitf037fc5f93f4e3c973f8c3b7ebd6ccd123f0944b (patch)
treebba9af6c3a6284e8916ac1f11740969fc1b08ac7 /drivers/crypto/amlogic
parentcrypto: hisilicon/sec2 - add controller reset support for SEC2 (diff)
downloadlinux-f037fc5f93f4e3c973f8c3b7ebd6ccd123f0944b.tar.gz
linux-f037fc5f93f4e3c973f8c3b7ebd6ccd123f0944b.tar.bz2
linux-f037fc5f93f4e3c973f8c3b7ebd6ccd123f0944b.zip
crypto: hisilicon/qm - stop qp by judging sq and cq tail
It is not working well to determine whether the queue is empty based on whether the used count is 0. It is more stable to get if the queue is stopping by checking if the tail pointer of the send queue and the completion queue are equal. Signed-off-by: Yang Shen <shenyang39@huawei.com> Signed-off-by: Shukun Tan <tanshukun1@huawei.com> Reviewed-by: Zhou Wang <wangzhou1@hisilicon.com> Reviewed-by: Zaibo Xu <xuzaibo@huawei.com> Signed-off-by: Herbert Xu <herbert@gondor.apana.org.au>
Diffstat (limited to 'drivers/crypto/amlogic')
0 files changed, 0 insertions, 0 deletions