diff options
author | 2021-10-11 11:42:58 +0200 | |
---|---|---|
committer | 2021-10-18 12:12:50 +0530 | |
commit | b20fd5fa310cbf7ec367f263a34382a24c4cee73 (patch) | |
tree | 4271b6b90a168932cb4cc0b56f1f4e73b6fafadb /tools/perf/scripts/python/export-to-postgresql.py | |
parent | dmaengine: stm32-dma: mark pending descriptor complete in terminate_all (diff) | |
download | wireguard-linux-b20fd5fa310cbf7ec367f263a34382a24c4cee73.tar.xz wireguard-linux-b20fd5fa310cbf7ec367f263a34382a24c4cee73.zip |
dmaengine: stm32-dma: fix stm32_dma_get_max_width
buf_addr parameter of stm32_dma_set_xfer_param function is a dma_addr_t.
We only need to check the remainder of buf_addr/max_width, so, no need to
use do_div and extra u64 addr. Use '%' instead.
Fixes: e0ebdbdcb42a ("dmaengine: stm32-dma: take address into account when computing max width")
Signed-off-by: Amelie Delaunay <amelie.delaunay@foss.st.com>
Link: https://lore.kernel.org/r/20211011094259.315023-3-amelie.delaunay@foss.st.com
Signed-off-by: Vinod Koul <vkoul@kernel.org>
Diffstat (limited to 'tools/perf/scripts/python/export-to-postgresql.py')
0 files changed, 0 insertions, 0 deletions