Loading
coresight-remote-etm: Removes lock in remote_etm_rcv_msg()
'commit 9021973b ("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>