diff options
author | 2023-01-30 17:17:47 +0200 | |
---|---|---|
committer | 2023-02-16 18:45:48 +0530 | |
commit | 255ccd8b16a516209deb4257aa4e89e42a26413a (patch) | |
tree | 0949837486c1894ee8f06b7b1a999343ec6a0a18 /tools/perf/scripts/python/task-analyzer.py | |
parent | dmaengine: ptdma: check for null desc before calling pt_cmd_callback (diff) | |
download | wireguard-linux-255ccd8b16a516209deb4257aa4e89e42a26413a.tar.xz wireguard-linux-255ccd8b16a516209deb4257aa4e89e42a26413a.zip |
dmaengine: dw: Move check for paused channel to dwc_get_residue()
Move check for paused channel to dwc_get_residue() and rename the latter
to dwc_get_residue_and_status().
This improves data integrity as residue and DMA channel status are set
in the same function under the same conditions.
Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
Link: https://lore.kernel.org/r/20230130151747.20704-1-andriy.shevchenko@linux.intel.com
Signed-off-by: Vinod Koul <vkoul@kernel.org>
Diffstat (limited to 'tools/perf/scripts/python/task-analyzer.py')
0 files changed, 0 insertions, 0 deletions