msm: tracing: Fix hang issue on qcom.

Change-Id: Id791730ff6fa55d3b9a1e3bbab6ca8ba069ebe98
Signed-off-by: Dong-Dong Yang <gdb746@motorola.com>
Reviewed-on: http://gerrit.pcs.mot.com/528862
SLT-Approved: Gerrit Code Review <gerrit-blurdev@motorola.com>
Tested-by: Jira Key <jirakey@motorola.com>
Reviewed-by: Check Patch <CHEKPACH@motorola.com>
Reviewed-by: Klocwork kwcheck <klocwork-kwcheck@sourceforge.mot.com>
Reviewed-by: Zhi-Ming Yuan <a14194@motorola.com>
Reviewed-by: Yi-Wei Zhao <gbjc64@motorola.com>
Submit-Approved: Jira Key <jirakey@motorola.com>
(cherry picked from commit 3f4467a20a12015326d6f7457e75179081f792e1)
Signed-off-by: Jake Weinstein <xboxlover360@gmail.com>