commit | 1874619a7df4b14b23b14877e705ae15325773e3 | [log] [tgz] |
---|---|---|
author | Thierry Reding <treding@nvidia.com> | Wed May 30 16:06:24 2018 +0200 |
committer | Ben Skeggs <bskeggs@redhat.com> | Mon Jul 16 18:06:36 2018 +1000 |
tree | 78e4a081d1b571159f0bf7fe3d66e1cd281bb4fd | |
parent | 0d466901552a8b4e80cb3c0968e344751c2c9ac3 [diff] |
ARM: dma-mapping: Set proper DMA ops in arm_iommu_detach_device() Instead of setting the DMA ops pointer to NULL, set the correct, non-IOMMU ops depending on the device's coherency setting. Signed-off-by: Thierry Reding <treding@nvidia.com> Reviewed-by: Robin Murphy <robin.murphy@arm.com> Acked-by: Russell King <rmk+kernel@armlinux.org.uk> Acked-by: Christoph Hellwig <hch@lst.de> Signed-off-by: Ben Skeggs <bskeggs@redhat.com>