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

Commit 111c0296 authored by qctecmdr's avatar qctecmdr Committed by Gerrit - the friendly Code Review server
Browse files

Merge "dsp: lsm: move lsm_common deregister out of mutex_lock"

parents 61793bf9 a801ad8f
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -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;