diff options
author | Matthias Fend <matthias.fend@wolfvision.net> | 2020-01-15 11:22:49 +0100 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2020-10-01 13:14:30 +0200 |
commit | 2708ed6048bc8439f289e7b6a33c8a5a660e446b (patch) | |
tree | d0631b3c905084c3200017a5ba7eaf96784efc34 /arch/s390 | |
parent | 714ddb5ec8af1bb2c24878bf61ea2a1b7cb23735 (diff) | |
download | linux-stable-2708ed6048bc8439f289e7b6a33c8a5a660e446b.tar.gz linux-stable-2708ed6048bc8439f289e7b6a33c8a5a660e446b.tar.bz2 linux-stable-2708ed6048bc8439f289e7b6a33c8a5a660e446b.zip |
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>
Diffstat (limited to 'arch/s390')
0 files changed, 0 insertions, 0 deletions