diff options
author | Michael Walle <michael@walle.cc> | 2020-03-10 10:33:13 +0300 |
---|---|---|
committer | Mark Brown <broonie@kernel.org> | 2020-03-10 21:34:57 +0300 |
commit | 22ee9de1ecfb4459a9b3a959994f6ccb4a3827a4 (patch) | |
tree | 97e7f93558ef65670c42ed1dd0a7556342ac7179 /drivers/spi/Makefile | |
parent | 36098a1db74a33ee51833d09ee3ea14fd7f90f51 (diff) | |
download | linux-22ee9de1ecfb4459a9b3a959994f6ccb4a3827a4.tar.xz |
spi: spi-fsl-dspi: fix DMA mapping
Use the correct device to request the DMA mapping. Otherwise the IOMMU
doesn't get the mapping and it will generate a page fault.
The error messages look like:
[ 3.008452] arm-smmu 5000000.iommu: Unhandled context fault: fsr=0x402, iova=0xf9800000, fsynr=0x3f0022, cbfrsynra=0x828, cb=8
[ 3.020123] arm-smmu 5000000.iommu: Unhandled context fault: fsr=0x402, iova=0xf9800000, fsynr=0x3f0022, cbfrsynra=0x828, cb=8
This was tested on a custom board with a LS1028A SoC.
Signed-off-by: Michael Walle <michael@walle.cc>
Link: https://lore.kernel.org/r/20200310073313.21277-1-michael@walle.cc
Signed-off-by: Mark Brown <broonie@kernel.org>
Diffstat (limited to 'drivers/spi/Makefile')
0 files changed, 0 insertions, 0 deletions