commit | 7b0eaa0e54656b934af0e63ac2ac60852ef6566b | [log] [tgz] |
---|---|---|
author | Anand Mohan <quic_anamoh@quicinc.com> | Fri Jun 02 13:30:39 2023 +0530 |
committer | Gerrit - the friendly Code Review server <code-review@localhost> | Mon Jul 03 00:59:03 2023 -0700 |
tree | 3f5fa7a7e596aaf0ff596ddd706282e03a449102 | |
parent | 84c99e289809314609ff5c1bb90b8e9b71676cae [diff] |
pal: release RM mutex before calling device setParam for A2dpSuspend If some thread has acquired activeStreamMutex and is waiting for RM mutex. If we will call a2dpSuspend device setParam with RM mutex held, deadlock condition might happen as a2dpSuspend needs to get active streams over A2dp which requires activeStreamMutex. Thus, releasing RM mutex before calling device setParam for A2dpSuspend. Change-Id: I0288b2511ac1788efd2b02d4742eee071eef6a8b