mirror of
https://github.com/BobTheBlinker/android_kernel_motorola_sm6375.git
synced 2026-10-12 15:49:17 -04:00
Merge "dsp: lsm: adjust mutex_lock to avoid deadlock"
This commit is contained in:
commit
a1cacab61b
1 changed files with 1 additions and 1 deletions
|
|
@ -372,9 +372,9 @@ void q6lsm_client_free(struct lsm_client *client)
|
|||
pr_err("%s: Invalid Session %d\n", __func__, client->session);
|
||||
return;
|
||||
}
|
||||
mutex_lock(&session_lock);
|
||||
apr_deregister(client->apr);
|
||||
client->mmap_apr = NULL;
|
||||
mutex_lock(&session_lock);
|
||||
q6lsm_session_free(client);
|
||||
q6lsm_mmap_apr_dereg();
|
||||
mutex_destroy(&client->cmd_lock);
|
||||
|
|
|
|||
Loading…
Reference in a new issue