iommu/arm: add missing return
authorOleksandr Tyshchenko <oleksandr_tyshchenko@epam.com>
Thu, 30 May 2019 12:02:28 +0000 (15:02 +0300)
committerJulien Grall <julien.grall@arm.com>
Tue, 11 Jun 2019 15:11:50 +0000 (16:11 +0100)
commit7d75e66049437d2d88f70aaa1ac0deb0af952b4c
treeaaf0862abb8c5d819346bcb2f2db4d42508ae435
parent7f03e7e05f4f80a41d28706c7567154dce257ce3
iommu/arm: add missing return

In case iommu_ops have been already set, we should not update it.

Signed-off-by: Oleksandr Tyshchenko <oleksandr_tyshchenko@epam.com>
Signed-off-by: Andrii Anisov <andrii_anisov@epam.com>
Acked-by: Julien Grall <julien.grall@arm.com>
xen/drivers/passthrough/arm/iommu.c