Skip to content
Commit 94415527 authored by Meng Li's avatar Meng Li Committed by Meng Li
Browse files

firmware: stratix10-svc: release mutex sdm_lock after processing command



When loading intel-fcs.ko kernel module, system hangs up. This issue
is introduced by sdk commit fc23818c8dfa("HSD #14015013554: firmware:
stratix10-svc: support up to 4 SVC clients "). This commit intends to declear
that stratix10-svc driver can support 4 SVC clients by allocating their own
channel to communicate with ATF, and use a  mutex to control thread
synchronization. But the mutex sdm_lock is not released after processing
command, and cause a deadlock issue. So, add the mutex release code after
processing command.

Signed-off-by: default avatarMeng Li <Meng.Li@windriver.com>
parent 00295d59
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment