[PATCH v2 2/7] iommu/exynos: Handle failed IOMMU device registration properly
Krzysztof Kozlowski
krzysztof.kozlowski at linaro.org
Tue Jul 12 09:20:38 PDT 2022
On 11/07/2022 01:05, Sam Protsenko wrote:
> 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.
>
> Signed-off-by: Sam Protsenko <semen.protsenko at linaro.org>
Fixes: d2c302b6e8b1 ("iommu/exynos: Make use of iommu_device_register
interface")
Reviewed-by: Krzysztof Kozlowski <krzysztof.kozlowski at linaro.org>
Best regards,
Krzysztof
More information about the linux-arm-kernel
mailing list