diff options
author | Sam Protsenko <[email protected]> | 2022-07-14 19:55:46 +0300 |
---|---|---|
committer | Joerg Roedel <[email protected]> | 2022-07-15 10:30:43 +0200 |
commit | fce398d2d02c0a9a2bedf7c7201b123e153e8963 (patch) | |
tree | ac9f3dfefadd28ab5e2d766046e70d38cf845e8e /scripts/gdb/linux/lists.py | |
parent | bc0d9af21f463b1705b35ea3f8a7266ac333fc14 (diff) |
iommu/exynos: Handle failed IOMMU device registration properly
If iommu_device_register() fails in exynos_sysmmu_probe(), the previous
calls have to be cleaned up. In this case, the iommu_device_sysfs_add()
should be cleaned up, by calling its remove counterpart call.
Fixes: d2c302b6e8b1 ("iommu/exynos: Make use of iommu_device_register interface")
Signed-off-by: Sam Protsenko <[email protected]>
Reviewed-by: Krzysztof Kozlowski <[email protected]>
Acked-by: Marek Szyprowski <[email protected]>
Link: https://lore.kernel.org/r/[email protected]
Signed-off-by: Joerg Roedel <[email protected]>
Diffstat (limited to 'scripts/gdb/linux/lists.py')
0 files changed, 0 insertions, 0 deletions