summaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python/call-graph-from-sql.py
diff options
context:
space:
mode:
authorDaniel Mack <daniel@zonque.org>2018-03-27 11:26:58 +0300
committerKalle Valo <kvalo@codeaurora.org>2018-03-29 11:58:44 +0300
commitf276ba06e8b2db6d43b78964ec89b827d6b33537 (patch)
treed23a40fd6b8e27dd49e51a5b87c809589fa923c8 /tools/perf/scripts/python/call-graph-from-sql.py
parente5f9908155c96d945b6d1053701b6168c4e8decc (diff)
downloadlinux-f276ba06e8b2db6d43b78964ec89b827d6b33537.tar.xz
wcn36xx: dequeue all pending indicator messages
In case wcn36xx_smd_rsp_process() is called more than once before hal_ind_work was dispatched, the messages will end up in hal_ind_queue, but wcn36xx_ind_smd_work() will only look at the first message in that list. Fix this by dequeing the messages from the list in a loop, and only stop when it's empty. This issue was found during a review of the driver. In my tests, that race never actually occured. Signed-off-by: Daniel Mack <daniel@zonque.org> Reviewed-by: Bjorn Andersson <bjorn.andersson@linaro.org> Signed-off-by: Kalle Valo <kvalo@codeaurora.org>
Diffstat (limited to 'tools/perf/scripts/python/call-graph-from-sql.py')
0 files changed, 0 insertions, 0 deletions