summaryrefslogtreecommitdiffstats
path: root/drivers/mfd/t7l66xb.c
diff options
context:
space:
mode:
authorMatthias Fend <matthias.fend@wolfvision.net>2020-01-15 11:22:49 +0100
committerVinod Koul <vkoul@kernel.org>2020-01-21 10:19:30 +0100
commitcc88525ebffc757e00cc5a5d61da6271646c7f5f (patch)
treea0a1cd3df6b3fc5280d45cf104a965d0a6fbe7f7 /drivers/mfd/t7l66xb.c
parentdmaengine: sun4i: Add support for cyclic requests with dedicated DMA (diff)
downloadlinux-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/mfd/t7l66xb.c')
0 files changed, 0 insertions, 0 deletions