kernel-fxtec-pro1x/drivers/dma/xilinx
Matthias Fend 2708ed6048 dmaengine: zynqmp_dma: fix burst length configuration
[ Upstream commit cc88525ebffc757e00cc5a5d61da6271646c7f5f ]

Since the dma engine expects the burst length register content as
power of 2 value, the burst length needs to be converted first.
Additionally add a burst length range check to avoid corrupting unrelated
register bits.

Signed-off-by: Matthias Fend <matthias.fend@wolfvision.net>
Link: https://lore.kernel.org/r/20200115102249.24398-1-matthias.fend@wolfvision.net
Signed-off-by: Vinod Koul <vkoul@kernel.org>
Signed-off-by: Sasha Levin <sashal@kernel.org>
2020-10-01 13:14:30 +02:00
..
Makefile dmaengine: Add Xilinx zynqmp dma engine driver support 2016-07-08 11:25:34 +05:30
xilinx_dma.c dmaengine: xilinx_dma: Clear desc_pendingcount in xilinx_dma_reset 2020-01-04 19:12:38 +01:00
zynqmp_dma.c dmaengine: zynqmp_dma: fix burst length configuration 2020-10-01 13:14:30 +02:00