Skip to content
Commit cc88525e authored by Matthias Fend's avatar Matthias Fend Committed by Vinod Koul
Browse files

dmaengine: zynqmp_dma: fix burst length configuration



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: default avatarMatthias Fend <matthias.fend@wolfvision.net>
Link: https://lore.kernel.org/r/20200115102249.24398-1-matthias.fend@wolfvision.net


Signed-off-by: default avatarVinod Koul <vkoul@kernel.org>
parent ffc079a4
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment