summaryrefslogtreecommitdiffstats
path: root/drivers/crypto
diff options
context:
space:
mode:
authorBarry Song <v-songbaohua@oppo.com>2024-02-29 11:14:49 +0100
committerHerbert Xu <herbert@gondor.apana.org.au>2024-03-08 12:23:25 +0100
commit30dd94dba350043a32cfe9cb478ed621aae3c5c9 (patch)
treef9f03c4254719fce721ad62e5b75b34005753936 /drivers/crypto
parentcrypto: hisilicon/zip - fix the missing CRYPTO_ALG_ASYNC in cra_flags (diff)
downloadlinux-30dd94dba350043a32cfe9cb478ed621aae3c5c9.tar.xz
linux-30dd94dba350043a32cfe9cb478ed621aae3c5c9.zip
crypto: iaa - fix the missing CRYPTO_ALG_ASYNC in cra_flags
Add the missing CRYPTO_ALG_ASYNC flag since intel iaa driver works asynchronously. Signed-off-by: Barry Song <v-songbaohua@oppo.com> Acked-by: Tom Zanussi <tom.zanussi@linux.intel.com> Signed-off-by: Herbert Xu <herbert@gondor.apana.org.au>
Diffstat (limited to 'drivers/crypto')
-rw-r--r--drivers/crypto/intel/iaa/iaa_crypto_main.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/drivers/crypto/intel/iaa/iaa_crypto_main.c b/drivers/crypto/intel/iaa/iaa_crypto_main.c
index b54f93c64033..1cd304de5388 100644
--- a/drivers/crypto/intel/iaa/iaa_crypto_main.c
+++ b/drivers/crypto/intel/iaa/iaa_crypto_main.c
@@ -1823,6 +1823,7 @@ static struct acomp_alg iaa_acomp_fixed_deflate = {
.base = {
.cra_name = "deflate",
.cra_driver_name = "deflate-iaa",
+ .cra_flags = CRYPTO_ALG_ASYNC,
.cra_ctxsize = sizeof(struct iaa_compression_ctx),
.cra_module = THIS_MODULE,
.cra_priority = IAA_ALG_PRIORITY,