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

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

Merge "dsp: lsm: adjust mutex_lock to avoid deadlock"

parents 43e90d44 818d4e9b
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -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);