Loading
mtd: rawnand: cadence: use dma_map_resource for sdma address
stable inclusion from stable-v6.6.80 commit ad9393467fbd788ac2b8a01e492e45ab1b68a1b1 category: bugfix bugzilla: https://gitee.com/openeuler/kernel/issues/IBXANC Reference: https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git/commit/?id=ad9393467fbd788ac2b8a01e492e45ab1b68a1b1 -------------------------------- commit d76d22b5096c5b05208fd982b153b3f182350b19 upstream. Remap the slave DMA I/O resources to enhance driver portability. Using a physical address causes DMA translation failure when the ARM SMMU is enabled. Fixes: ec4ba01e ("mtd: rawnand: Add new Cadence NAND driver to MTD subsystem") Cc: stable@vger.kernel.org Signed-off-by:Niravkumar L Rabara <niravkumar.l.rabara@intel.com> Signed-off-by:
Miquel Raynal <miquel.raynal@bootlin.com> Signed-off-by:
Greg Kroah-Hartman <gregkh@linuxfoundation.org> (cherry picked from commit ad9393467fbd788ac2b8a01e492e45ab1b68a1b1) Signed-off-by:
Wentao Guan <guanwentao@uniontech.com>