public inbox for linux-kernel@vger.kernel.org
 help / color / mirror / Atom feed
* [PATCH 1/2] crypto: hisilicon/zip - fix the missing CRYPTO_ALG_ASYNC in cra_flags
@ 2024-02-20  4:42 Barry Song
  2024-02-20  4:42 ` [PATCH 2/2] crypto: iaa " Barry Song
  2024-02-28  6:48 ` [PATCH 1/2] crypto: hisilicon/zip " Yang Shen
  0 siblings, 2 replies; 4+ messages in thread
From: Barry Song @ 2024-02-20  4:42 UTC (permalink / raw)
  To: davem, herbert, linux-crypto
  Cc: linux-kernel, Barry Song, Yang Shen, Zhou Wang

Add the missing CRYPTO_ALG_ASYNC flag since hisilizon zip driver
works asynchronously.

Cc: Yang Shen <shenyang39@huawei.com>
Cc: Zhou Wang <wangzhou1@hisilicon.com>
Signed-off-by: Barry Song <v-songbaohua@oppo.com>
---
 drivers/crypto/hisilicon/zip/zip_crypto.c | 1 +
 1 file changed, 1 insertion(+)

diff --git a/drivers/crypto/hisilicon/zip/zip_crypto.c b/drivers/crypto/hisilicon/zip/zip_crypto.c
index c650c741a18d..94e2d66b04b6 100644
--- a/drivers/crypto/hisilicon/zip/zip_crypto.c
+++ b/drivers/crypto/hisilicon/zip/zip_crypto.c
@@ -591,6 +591,7 @@ static struct acomp_alg hisi_zip_acomp_deflate = {
 	.base			= {
 		.cra_name		= "deflate",
 		.cra_driver_name	= "hisi-deflate-acomp",
+		.cra_flags		= CRYPTO_ALG_ASYNC,
 		.cra_module		= THIS_MODULE,
 		.cra_priority		= HZIP_ALG_PRIORITY,
 		.cra_ctxsize		= sizeof(struct hisi_zip_ctx),
-- 
2.34.1


^ permalink raw reply related	[flat|nested] 4+ messages in thread

end of thread, other threads:[~2024-02-28  6:48 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2024-02-20  4:42 [PATCH 1/2] crypto: hisilicon/zip - fix the missing CRYPTO_ALG_ASYNC in cra_flags Barry Song
2024-02-20  4:42 ` [PATCH 2/2] crypto: iaa " Barry Song
2024-02-21 21:18   ` Tom Zanussi
2024-02-28  6:48 ` [PATCH 1/2] crypto: hisilicon/zip " Yang Shen

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox