Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit b83f8c4c authored by Vatsal Bucha's avatar Vatsal Bucha Committed by Gerrit - the friendly Code Review server
Browse files

ASoC: wcd-mbhc: Check if mutex is locked before mutex destroy



Mutex destroy is called as part of wcd_mbhc_deinit during SSR
for hph pa lock when lock is taken resulting in warning. Check
if mutex is locked and unlock mutex before destroy so as to
remove warning.

Change-Id: I521903f9ab24222278d6fb3f349da18c98131c60
Signed-off-by: default avatarVatsal Bucha <vbucha@codeaurora.org>
parent fc2cd3b0
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment