Skip to content
Commit 1874619a authored by Thierry Reding's avatar Thierry Reding Committed by Ben Skeggs
Browse files

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: default avatarThierry Reding <treding@nvidia.com>
Reviewed-by: default avatarRobin Murphy <robin.murphy@arm.com>
Acked-by: default avatarRussell King <rmk+kernel@armlinux.org.uk>
Acked-by: default avatarChristoph Hellwig <hch@lst.de>
Signed-off-by: default avatarBen Skeggs <bskeggs@redhat.com>
parent 0d466901
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment