mtd: rawnand: arasan: Use the right DMA mask
authorMiquel Raynal <miquel.raynal@bootlin.com>
Thu, 27 May 2021 08:45:48 +0000 (10:45 +0200)
committerMiquel Raynal <miquel.raynal@bootlin.com>
Fri, 18 Jun 2021 07:44:57 +0000 (09:44 +0200)
commitcf67edce22c5d7edc6cad64dbeb1d5d7d0099837
treee1793ee291fe9ef4eca9b2bba321d494a5cb6615
parentc93081b265735db2417f0964718516044d06b1a2
mtd: rawnand: arasan: Use the right DMA mask

Xilinx ZynqMP SoC and the Arasan controller support 64-bit DMA
addressing. Define the right mask otherwise the default is 32
and some accesses may overflow the default mask.

Reported-by: Jorge Courett <jorge.courett@gmail.com>
Signed-off-by: Miquel Raynal <miquel.raynal@bootlin.com>
Tested-by: Jorge Courett <jorge.courett@gmail.com>
Link: https://lore.kernel.org/linux-mtd/20210527084548.208429-1-miquel.raynal@bootlin.com
drivers/mtd/nand/raw/arasan-nand-controller.c