[PATCH v5 1/7] dmaengine: xilinx_dma: commonize DMA copy size calculation

2018-09-07 Thread Andrea Merello
This patch removes a bit of duplicated code by introducing a new function that implements calculations for DMA copy size. Suggested-by: Vinod Koul Signed-off-by: Andrea Merello --- Changes in v4: - introduce this patch in the patch series Changes in v5: None ---

[PATCH v5 1/7] dmaengine: xilinx_dma: commonize DMA copy size calculation

2018-09-07 Thread Andrea Merello
This patch removes a bit of duplicated code by introducing a new function that implements calculations for DMA copy size. Suggested-by: Vinod Koul Signed-off-by: Andrea Merello --- Changes in v4: - introduce this patch in the patch series Changes in v5: None ---