diff options
author | Lu Baolu <baolu.lu@linux.intel.com> | 2023-01-10 10:54:06 +0800 |
---|---|---|
committer | Joerg Roedel <jroedel@suse.de> | 2023-01-13 16:39:16 +0100 |
commit | c1fe9119ee707459421d8f7387e803b0ea78c21b (patch) | |
tree | 66cc77a650c53be6a209d162ccabb5b3f0d8735a /drivers/reset/reset-qcom-pdc.c | |
parent | 6caeb33fa986151f745fc62190bc28a593b8a0d2 (diff) |
iommu: Add set_platform_dma_ops callbacks
For those IOMMU drivers that don't provide default domain support, add an
implementation of set_platform_dma_ops callback so that the IOMMU core
could return the DMA control to platform DMA ops. At the same time, with
the set_platform_dma_ops implemented, there is no need for detach_dev.
Remove it to avoid dead code.
Reviewed-by: Jason Gunthorpe <jgg@nvidia.com>
Signed-off-by: Lu Baolu <baolu.lu@linux.intel.com>
Link: https://lore.kernel.org/r/20230110025408.667767-4-baolu.lu@linux.intel.com
Signed-off-by: Joerg Roedel <jroedel@suse.de>
Diffstat (limited to 'drivers/reset/reset-qcom-pdc.c')
0 files changed, 0 insertions, 0 deletions