summaryrefslogtreecommitdiff
path: root/drivers/crypto/amlogic
diff options
context:
space:
mode:
authorYang Shen <shenyang39@huawei.com>2020-04-03 11:16:42 +0300
committerHerbert Xu <herbert@gondor.apana.org.au>2020-04-16 09:49:21 +0300
commitf037fc5f93f4e3c973f8c3b7ebd6ccd123f0944b (patch)
treebba9af6c3a6284e8916ac1f11740969fc1b08ac7 /drivers/crypto/amlogic
parent141876c252a461818c39d45ca30ef1cb7c71953a (diff)
downloadlinux-f037fc5f93f4e3c973f8c3b7ebd6ccd123f0944b.tar.xz
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