dmaengine: pl330: Fix burst length if burst size is smaller than bus width
authorMarek Szyprowski <m.szyprowski@samsung.com>
Tue, 25 Aug 2020 06:46:17 +0000 (08:46 +0200)
committerVinod Koul <vkoul@kernel.org>
Tue, 25 Aug 2020 10:18:53 +0000 (15:48 +0530)
commit0661cef675d37e2c4b66a996389ebeae8568e49e
tree4a9228abed52c76936b878be97127e1199d175a2
parente097eb7473d9e70da9e03276f61cd392ccb9d79f
dmaengine: pl330: Fix burst length if burst size is smaller than bus width

Move the burst len fixup after setting the generic value for it. This
finally enables the fixup introduced by commit 137bd11090d8 ("dmaengine:
pl330: Align DMA memcpy operations to MFIFO width"), which otherwise was
overwritten by the generic value.

Reported-by: kernel test robot <lkp@intel.com>
Fixes: 137bd11090d8 ("dmaengine: pl330: Align DMA memcpy operations to MFIFO width")
Signed-off-by: Marek Szyprowski <m.szyprowski@samsung.com>
Link: https://lore.kernel.org/r/20200825064617.16193-1-m.szyprowski@samsung.com
Signed-off-by: Vinod Koul <vkoul@kernel.org>
drivers/dma/pl330.c