This reverts commit 239adc5d99d3a47b25962d18ee68ee87d2e150df.

The issue is already fixed by another SDK patch 7d97a731ceb5
("HSD #16013024105: fpga: stratix10-soc: stop kernel thread"),
Revert this one to avoid "fcs_clent -G" run failed with error:
"svc_normal_to_secure_thread: STATUS_ERROR"

Signed-off-by: Liwei Song <[email protected]>
---
 drivers/firmware/stratix10-svc.c | 2 --
 1 file changed, 2 deletions(-)

diff --git a/drivers/firmware/stratix10-svc.c b/drivers/firmware/stratix10-svc.c
index e52929517470..aaa8dd700f82 100644
--- a/drivers/firmware/stratix10-svc.c
+++ b/drivers/firmware/stratix10-svc.c
@@ -1272,8 +1272,6 @@ static int svc_normal_to_secure_thread(void *data)
                        break;
 
                }
-               mutex_unlock(ctrl->sdm_lock);
-               sdm_lock_owned = false;
        }
        pr_debug("%s: %s: Exit thread\n", __func__, chan->name);
        if (sdm_lock_owned == true)
-- 
2.40.0

-=-=-=-=-=-=-=-=-=-=-=-
Links: You receive all messages sent to this group.
View/Reply Online (#13769): 
https://lists.yoctoproject.org/g/linux-yocto/message/13769
Mute This Topic: https://lists.yoctoproject.org/mt/105302919/21656
Group Owner: [email protected]
Unsubscribe: https://lists.yoctoproject.org/g/linux-yocto/unsub 
[[email protected]]
-=-=-=-=-=-=-=-=-=-=-=-

Reply via email to