Skip to content

Commit db8ac88

Browse files
Barry Songherbertx
authored andcommitted
crypto: hisilicon/zip - fix the missing CRYPTO_ALG_ASYNC in cra_flags
Add the missing CRYPTO_ALG_ASYNC flag since hisilizon zip driver works asynchronously. Cc: Zhou Wang <[email protected]> Signed-off-by: Barry Song <[email protected]> Acked-by: Yang Shen <[email protected]> Signed-off-by: Herbert Xu <[email protected]>
1 parent 12e37ae commit db8ac88

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

drivers/crypto/hisilicon/zip/zip_crypto.c

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -591,6 +591,7 @@ static struct acomp_alg hisi_zip_acomp_deflate = {
591591
.base = {
592592
.cra_name = "deflate",
593593
.cra_driver_name = "hisi-deflate-acomp",
594+
.cra_flags = CRYPTO_ALG_ASYNC,
594595
.cra_module = THIS_MODULE,
595596
.cra_priority = HZIP_ALG_PRIORITY,
596597
.cra_ctxsize = sizeof(struct hisi_zip_ctx),

0 commit comments

Comments
 (0)