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: NThierry Reding <treding@nvidia.com> Reviewed-by: NRobin Murphy <robin.murphy@arm.com> Acked-by: NRussell King <rmk+kernel@armlinux.org.uk> Acked-by: NChristoph Hellwig <hch@lst.de> Signed-off-by: NBen Skeggs <bskeggs@redhat.com>
Showing
想要评论请 注册 或 登录