aboutsummaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python/syscall-counts.py
diff options
context:
space:
mode:
authorJia-Ju Bai <baijiaju1990@gmail.com>2018-11-06 11:33:48 +0800
committerVinod Koul <vkoul@kernel.org>2018-11-24 19:59:54 +0530
commit627469e4445b9b12e0229b3bdf8564d5ce384dd7 (patch)
treef2342787ccec2ad0ead6a6995298295d5bb5c019 /tools/perf/scripts/python/syscall-counts.py
parent651022382c7f8da46cb4872a545ee1da6d097d2a (diff)
dmaengine: coh901318: Fix a double-lock bug
The function coh901318_alloc_chan_resources() calls spin_lock_irqsave() before calling coh901318_config(). But coh901318_config() calls spin_lock_irqsave() again in its definition, which may cause a double-lock bug. Because coh901318_config() is only called by coh901318_alloc_chan_resources(), the bug fix is to remove the calls to spin-lock and -unlock functions in coh901318_config(). Signed-off-by: Jia-Ju Bai <baijiaju1990@gmail.com> Reviewed-by: Linus Walleij <linus.walleij@linaro.org> Signed-off-by: Vinod Koul <vkoul@kernel.org>
Diffstat (limited to 'tools/perf/scripts/python/syscall-counts.py')
0 files changed, 0 insertions, 0 deletions