diff options
| author | Dan Carpenter <[email protected]> | 2019-05-09 10:09:23 +0000 |
|---|---|---|
| committer | Vinod Koul <[email protected]> | 2019-05-21 08:55:59 +0000 |
| commit | 069b3c4214f27b130d0642f32438560db30f452e (patch) | |
| tree | 6858afd9c7042ceef40c1692d3a8231a53a8a614 /tools/perf/scripts/python/exported-sql-viewer.py | |
| parent | dmaengine: dw-axi-dmac: fix null dereference when pointer first is null (diff) | |
| download | kernel-069b3c4214f27b130d0642f32438560db30f452e.tar.gz kernel-069b3c4214f27b130d0642f32438560db30f452e.zip | |
dmaengine: mediatek-cqdma: sleeping in atomic context
The mtk_cqdma_poll_engine_done() function takes a true/false parameter
where true means it's called from atomic context. There are a couple
places where it was set to false but it's actually in atomic context
so it should be true.
All the callers for mtk_cqdma_hard_reset() are holding a spin_lock and
in mtk_cqdma_free_chan_resources() we take a spin_lock before calling
the mtk_cqdma_poll_engine_done() function.
Fixes: b1f01e48df5a ("dmaengine: mediatek: Add MediaTek Command-Queue DMA controller for MT6765 SoC")
Signed-off-by: Dan Carpenter <[email protected]>
Signed-off-by: Vinod Koul <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/exported-sql-viewer.py')
0 files changed, 0 insertions, 0 deletions
