summaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python/export-to-sqlite.py
diff options
context:
space:
mode:
authorGeert Uytterhoeven <geert+renesas@glider.be>2018-07-06 11:05:42 +0200
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>2018-07-06 16:41:15 +0200
commitf661131766e45bc0b3c8b85b19676a470dc75abf (patch)
treeb4b47e57b3bd04d5ad5ec074661dbd900db00603 /tools/perf/scripts/python/export-to-sqlite.py
parent2c4ee23530ffc022dc22d2fd4b0eb039c6b4c5e9 (diff)
serial: sh-sci: Stop TX DMA workqueue during port shutdown
The transmit DMA workqueue is never stopped, hence the work function may be called after the port has been shut down. Fix this race condition by cancelling queued work, if any, before DMA release. Don't initialize the work if DMA initialization failed, as it won't be used anyway. Signed-off-by: Geert Uytterhoeven <geert+renesas@glider.be> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'tools/perf/scripts/python/export-to-sqlite.py')
0 files changed, 0 insertions, 0 deletions