]> git.ipfire.org Git - thirdparty/linux.git/commit
iommu/exynos-iommu: Set release_domain to exynos_identity_domain
authorNicolin Chen <nicolinc@nvidia.com>
Thu, 23 Oct 2025 02:21:06 +0000 (19:21 -0700)
committerJoerg Roedel <joerg.roedel@amd.com>
Mon, 27 Oct 2025 12:55:35 +0000 (13:55 +0100)
commit680a6a60fc0846cb0364201f7625700da1e8ffa1
tree4d9fea9b83b2d5295ac526bada173f22e6642955
parent52f77fb176ec5008995283e434de61d21c694ba9
iommu/exynos-iommu: Set release_domain to exynos_identity_domain

Following a coming core change to pass in the old domain pointer into the
attach_dev op and its callbacks, exynos_iommu_identity_attach() will need
this new argument too, which the release_device op doesn't provide.

Instead, the core provides a release_domain to attach to the device prior
to invoking the release_device callback. Thus, simply use that.

Acked-by: Marek Szyprowski <m.szyprowski@samsung.com>
Reviewed-by: Jason Gunthorpe <jgg@nvidia.com>
Signed-off-by: Nicolin Chen <nicolinc@nvidia.com>
Signed-off-by: Joerg Roedel <joerg.roedel@amd.com>
drivers/iommu/exynos-iommu.c