From 20035bf190f89b6c8cac7e8e2d2d423add618b31 Mon Sep 17 00:00:00 2001 From: Longfang Liu Date: Thu, 15 Jun 2023 11:01:15 +0800 Subject: [PATCH 01/26] uadk/comp: fix duplicate release of comp In the current version, when the resource of comp is destroyed, there is no effective blanking operation for setting's priv therefore, this operation needs to be performed directly on the priv of the setting. Signed-off-by: Longfang Liu --- wd_comp.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/wd_comp.c b/wd_comp.c index 671baba..a8180c1 100644 --- a/wd_comp.c +++ b/wd_comp.c @@ -169,7 +169,8 @@ static int wd_comp_uninit_nolock(void) wd_clear_sched(&wd_comp_setting.sched); wd_alg_uninit_driver(&wd_comp_setting.config, - wd_comp_setting.driver, &priv); + wd_comp_setting.driver, + &wd_comp_setting.priv); return 0; } -- 2.25.1