]> git.dujemihanovic.xyz Git - u-boot.git/commit
fpga: zynqpl: fix buffer alignment
authorMichael Walle <michael@walle.cc>
Wed, 10 Feb 2021 21:42:29 +0000 (22:42 +0100)
committerMichal Simek <michal.simek@xilinx.com>
Tue, 23 Feb 2021 13:56:55 +0000 (14:56 +0100)
commit8c02d842b61ebd579e42ff3f0326457e7d10ec95
tree5b920675cd673a9a130af76ce8dce249864bfd63
parent038e02455bbc18d34946fdfe77faf2062adc3e2a
fpga: zynqpl: fix buffer alignment

Due to pointer arithmetic, "sizeof(u32) * ARCH_DMA_MINALIGN" is
subtracted. It seems that the original intention was to just subtract
ARCH_DMA_MINALIGN. Fix it.

Signed-off-by: Michael Walle <michael@walle.cc>
Signed-off-by: Michal Simek <michal.simek@xilinx.com>
drivers/fpga/zynqpl.c