diff options
author | Peter Ujfalusi <peter.ujfalusi@ti.com> | 2020-02-14 12:14:40 +0300 |
---|---|---|
committer | Vinod Koul <vkoul@kernel.org> | 2020-02-19 10:39:11 +0300 |
commit | c7450bb211f3ded7cb6e4d305855683ed7d04e60 (patch) | |
tree | 61e23b05d98fafe3b1a14cb0ca3dc8d0e15cb237 /tools/perf/scripts/python/export-to-sqlite.py | |
parent | 6cf668a4ef829b9a11d74a4954f02a1767403246 (diff) | |
download | linux-c7450bb211f3ded7cb6e4d305855683ed7d04e60.tar.xz |
dmaengine: ti: k3-udma: Use the channel direction in pause/resume functions
It should be possible to pause, resume and check the pause state of a
channel even if we do not have active transfer.
udma_is_chan_paused() can trigger NULL pointer reference in it's current
form when the status is checked while uc->desc is NULL.
Fixes: 25dcb5dd7b7ce ("dmaengine: ti: New driver for K3 UDMA")
Signed-off-by: Peter Ujfalusi <peter.ujfalusi@ti.com>
Link: https://lore.kernel.org/r/20200214091441.27535-6-peter.ujfalusi@ti.com
Signed-off-by: Vinod Koul <vkoul@kernel.org>
Diffstat (limited to 'tools/perf/scripts/python/export-to-sqlite.py')
0 files changed, 0 insertions, 0 deletions