diff options
author | Andrea Merello <andrea.merello@gmail.com> | 2018-11-20 18:31:45 +0300 |
---|---|---|
committer | Vinod Koul <vkoul@kernel.org> | 2019-01-07 07:23:11 +0300 |
commit | 616f0f81d857e248a72b5af45ab185196556ae2e (patch) | |
tree | ff398f11f99cc86cd14212f6f52332ce11104ba2 /tools/perf/scripts/python/exported-sql-viewer.py | |
parent | bfeffd155283772bbe78c6a05dec7c0128ee500c (diff) | |
download | linux-616f0f81d857e248a72b5af45ab185196556ae2e.tar.xz |
dmaengine: xilinx_dma: commonize DMA copy size calculation
This patch removes a bit of duplicated code by introducing a new
function that implements calculations for DMA copy size, and
prepares for changes to the copy size calculation that will
happen in following patches.
Suggested-by: Vinod Koul <vkoul@kernel.org>
Signed-off-by: Andrea Merello <andrea.merello@gmail.com>
Reviewed-by: Radhey Shyam Pandey <radhey.shyam.pandey@xilinx.com>
Signed-off-by: Vinod Koul <vkoul@kernel.org>
Diffstat (limited to 'tools/perf/scripts/python/exported-sql-viewer.py')
0 files changed, 0 insertions, 0 deletions