diff options
| author | Marek Szyprowski <[email protected]> | 2023-03-15 23:25:14 +0000 |
|---|---|---|
| committer | Joerg Roedel <[email protected]> | 2023-03-28 13:33:50 +0000 |
| commit | f91bf3272a18356e8585f6bbba896d794632f2af (patch) | |
| tree | 15bf56cf86b91ffc9377393d2ea57f441b3ce3bf /tools/perf/scripts/python | |
| parent | MAINTAINERS: Update s390-iommu driver maintainer information (diff) | |
| download | kernel-f91bf3272a18356e8585f6bbba896d794632f2af.tar.gz kernel-f91bf3272a18356e8585f6bbba896d794632f2af.zip | |
iommu/exynos: Fix set_platform_dma_ops() callback
There are some subtle differences between release_device() and
set_platform_dma_ops() callbacks, so separate those two callbacks. Device
links should be removed only in release_device(), because they were
created in probe_device() on purpose and they are needed for proper
Exynos IOMMU driver operation. While fixing this, remove the conditional
code as it is not really needed.
Reported-by: Jason Gunthorpe <[email protected]>
Fixes: 189d496b48b1 ("iommu/exynos: Add missing set_platform_dma_ops callback")
Signed-off-by: Marek Szyprowski <[email protected]>
Reviewed-by: Sam Protsenko <[email protected]>
Link: https://lore.kernel.org/r/[email protected]
Signed-off-by: Joerg Roedel <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python')
0 files changed, 0 insertions, 0 deletions
