crypto: hisilicon/qm - modify the uacce mode check
authorKai Ye <yekai13@huawei.com>
Mon, 27 Sep 2021 08:16:55 +0000 (16:16 +0800)
committerHerbert Xu <herbert@gondor.apana.org.au>
Fri, 8 Oct 2021 12:02:36 +0000 (20:02 +0800)
commit183b60e005975d3c84c22199ca64a9221e620fb6
tree46231878a4414f75337c2e1c405742bb4368a47d
parente42dff467ee688fe6b5a083f1837d06e3b27d8c0
crypto: hisilicon/qm - modify the uacce mode check

As qm should register to uacce in UACCE_DEV_SVA mode,
this patch modifies to checks uacce mode before doing uacce
registration.

Signed-off-by: Kai Ye <yekai13@huawei.com>
Signed-off-by: Herbert Xu <herbert@gondor.apana.org.au>
drivers/crypto/hisilicon/qm.c