summaryrefslogtreecommitdiff
path: root/lib/mpi/mpi-inline.h
diff options
context:
space:
mode:
authorMukesh Ojha <mojha@codeaurora.org>2017-07-20 16:11:30 +0530
committerMukesh Ojha <mojha@codeaurora.org>2017-07-21 13:49:34 +0530
commit560dd41dff5919452f62feba5a30584a703ab1c4 (patch)
treef227ff64871147779a84353fea532c230bbada63 /lib/mpi/mpi-inline.h
parent347dbf727762464419c5ccb5919f0c234fd38e23 (diff)
coresight-remote-etm: Removes lock in remote_etm_rcv_msg()
'commit 9021973bacc9 ("coresight-remote-etm: Adds missing lock to avoid race condition")' adds lock inside remote_etm_rcv_msg() which is not needed as we are waiting inside it for a response of request made remote_etm_enable => qmi_send_req_wait() which already holds lock 'drvdata->mutex'. So, adding 'drvdata->mutex' inside remote_etm_rcv_msg() adds wait for the lock and due to which not able to ack the response got which results in timeout error qmi_send_req_wait(). This patch fixes the above mentioned issue by removing the lock added in above mentioned commit. Change-Id: Ie47607722ff170e012d598a2347b1c0ec6913cdf Signed-off-by: Mukesh Ojha <mojha@codeaurora.org>
Diffstat (limited to 'lib/mpi/mpi-inline.h')
0 files changed, 0 insertions, 0 deletions