summaryrefslogtreecommitdiffstats
path: root/drivers/dma/pl330.c
diff options
context:
space:
mode:
authorMark Brown <broonie@kernel.org>2020-12-11 18:49:01 +0100
committerMark Brown <broonie@kernel.org>2020-12-11 18:49:01 +0100
commit3e98a021cc85e7d52acdd1eae8a988e975ec5bf9 (patch)
treececfac58b9550a602555a02a9d583ed0f3378b38 /drivers/dma/pl330.c
parentMerge remote-tracking branch 'spi/for-5.10' into spi-linus (diff)
parentspi: dt-bindings: clarify CS behavior for spi-cs-high and gpio descriptors (diff)
downloadlinux-3e98a021cc85e7d52acdd1eae8a988e975ec5bf9.tar.xz
linux-3e98a021cc85e7d52acdd1eae8a988e975ec5bf9.zip
Merge remote-tracking branch 'spi/for-5.11' into spi-next
Diffstat (limited to 'drivers/dma/pl330.c')
-rw-r--r--drivers/dma/pl330.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/dma/pl330.c b/drivers/dma/pl330.c
index e9f0101d92fa..0f5c19370f6d 100644
--- a/drivers/dma/pl330.c
+++ b/drivers/dma/pl330.c
@@ -2799,7 +2799,7 @@ pl330_prep_dma_memcpy(struct dma_chan *chan, dma_addr_t dst,
* If burst size is smaller than bus width then make sure we only
* transfer one at a time to avoid a burst stradling an MFIFO entry.
*/
- if (desc->rqcfg.brst_size * 8 < pl330->pcfg.data_bus_width)
+ if (burst * 8 < pl330->pcfg.data_bus_width)
desc->rqcfg.brst_len = 1;
desc->bytes_requested = len;