arm/arm64: dma-mapping: Call iommu's remove_device callback during device detach
dma_deconfigure calls arch_teardown_dma_ops in the device_detach path,
which is called when the device gets detached from the driver.
When the device was added, iommu's add_device callback was used to
add the device in to its iommu_group and setup the device to be ready
to use its iommu. Similarly, call remove_device callback to remove the
device from the group and reset any other device's iommu configurations.
Signed-off-by:
Sricharan R <sricharan@codeaurora.org>
Loading
Please sign in to comment