libwd/0022-uadk-drv-fix-drv_name-for-sec2.patch
2023-05-26 16:41:41 +08:00

29 lines
810 B
Diff

From af61e4be412cb90b3d06d4fc7c716723c61eabe3 Mon Sep 17 00:00:00 2001
From: Wenkai Lin <linwenkai6@hisilicon.com>
Date: Tue, 28 Mar 2023 20:11:12 +0800
Subject: [PATCH 22/28] uadk/drv: fix drv_name for sec2
The driver name must match the actual driver name of the kernel.
Signed-off-by: Wenkai Lin <linwenkai6@hisilicon.com>
---
drv/hisi_sec.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/drv/hisi_sec.c b/drv/hisi_sec.c
index 0527bff..a84cc7a 100644
--- a/drv/hisi_sec.c
+++ b/drv/hisi_sec.c
@@ -527,7 +527,7 @@ static int hisi_sec_get_usage(void *param)
#define GEN_SEC_ALG_DRIVER(sec_alg_name) \
{\
- .drv_name = "hisi_sec2_cipher",\
+ .drv_name = "hisi_sec2",\
.alg_name = sec_alg_name,\
.priority = UADK_ALG_HW,\
.priv_size = sizeof(struct hisi_sec_ctx),\
--
2.25.1