summaryrefslogtreecommitdiff
path: root/drivers/remoteproc/imx_rproc.c
diff options
context:
space:
mode:
authorAmelie Delaunay <amelie.delaunay@foss.st.com>2021-10-11 11:42:58 +0200
committerVinod Koul <vkoul@kernel.org>2021-10-18 12:12:50 +0530
commitb20fd5fa310cbf7ec367f263a34382a24c4cee73 (patch)
tree4271b6b90a168932cb4cc0b56f1f4e73b6fafadb /drivers/remoteproc/imx_rproc.c
parent79e40b06a4ebfc8e0a48ed6164345f8e0a96b699 (diff)
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 'drivers/remoteproc/imx_rproc.c')
0 files changed, 0 insertions, 0 deletions