crypto: hisilicon/qm - fix 'QM_XEQ_DEPTH_CAP' mask value
authorWeili Qian <qianweili@huawei.com>
Sat, 19 Nov 2022 09:48:43 +0000 (17:48 +0800)
committerHerbert Xu <herbert@gondor.apana.org.au>
Fri, 25 Nov 2022 09:39:19 +0000 (17:39 +0800)
commit3901355624d14afe3230252cb36bc3da8ff6890e
tree6a44ad3d853253d82b8b86cdfad645996871f6a7
parentfa2ca3b275874d61f42e68f5eb13645bbeb5d72b
crypto: hisilicon/qm - fix 'QM_XEQ_DEPTH_CAP' mask value

'QM_XEQ_DEPTH_CAP' mask value is GENMASK(31, 0) instead of GENMASK(15, 0).
If the mask value is incorrect, will cause abnormal events cannot be
handled. So fix it.

Fixes: 129a9f340172 ("crypto: hisilicon/qm - get qp num and depth from hardware registers")
Signed-off-by: Weili Qian <qianweili@huawei.com>
Signed-off-by: Herbert Xu <herbert@gondor.apana.org.au>
drivers/crypto/hisilicon/qm.c