diff options
author | Matthias Fend <matthias.fend@wolfvision.net> | 2020-01-15 11:22:49 +0100 |
---|---|---|
committer | Vinod Koul <vkoul@kernel.org> | 2020-01-21 10:19:30 +0100 |
commit | cc88525ebffc757e00cc5a5d61da6271646c7f5f (patch) | |
tree | a0a1cd3df6b3fc5280d45cf104a965d0a6fbe7f7 /drivers/watchdog/txx9wdt.c | |
parent | dmaengine: sun4i: Add support for cyclic requests with dedicated DMA (diff) | |
download | linux-cc88525ebffc757e00cc5a5d61da6271646c7f5f.tar.xz linux-cc88525ebffc757e00cc5a5d61da6271646c7f5f.zip |
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: 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>
Diffstat (limited to 'drivers/watchdog/txx9wdt.c')
0 files changed, 0 insertions, 0 deletions