mirror of
https://github.com/BobTheBlinker/android_kernel_motorola_sm6375.git
synced 2026-10-12 15:49:17 -04:00
Merge "dsp: lsm: move lsm_common deregister out of mutex_lock"
This commit is contained in:
commit
111c029686
1 changed files with 1 additions and 1 deletions
|
|
@ -375,10 +375,10 @@ void q6lsm_client_free(struct lsm_client *client)
|
|||
return;
|
||||
}
|
||||
apr_deregister(client->apr);
|
||||
q6lsm_mmap_apr_dereg();
|
||||
client->mmap_apr = NULL;
|
||||
mutex_lock(&session_lock);
|
||||
q6lsm_session_free(client);
|
||||
q6lsm_mmap_apr_dereg();
|
||||
mutex_destroy(&client->cmd_lock);
|
||||
kfree(client);
|
||||
client = NULL;
|
||||
|
|
|
|||
Loading…
Reference in a new issue