diff options
author | Marek Szyprowski <[email protected]> | 2023-03-16 00:25:14 +0100 |
---|---|---|
committer | Joerg Roedel <[email protected]> | 2023-03-28 15:33:50 +0200 |
commit | f91bf3272a18356e8585f6bbba896d794632f2af (patch) | |
tree | 15bf56cf86b91ffc9377393d2ea57f441b3ce3bf /tools/perf/util/trace-event-scripting.c | |
parent | d701cf6578e8447af4ac0fa08e7c5a0fad6df1ae (diff) |
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/util/trace-event-scripting.c')
0 files changed, 0 insertions, 0 deletions