Home
last modified time | relevance | path

Searched hist:"2 a0c57545a291f257cd231b1c4b18285b84608d8" (Results 1 – 1 of 1) sorted by relevance

/openbmc/linux/drivers/iommu/
H A Dof_iommu.cdiff 2a0c57545a291f257cd231b1c4b18285b84608d8 Mon Apr 10 06:20:56 CDT 2017 Robin Murphy <robin.murphy@arm.com> iommu/of: Refactor of_iommu_configure() for error handling

In preparation for some upcoming cleverness, rework the control flow in
of_iommu_configure() to minimise duplication and improve the propogation
of errors. It's also as good a time as any to switch over from the
now-just-a-compatibility-wrapper of_iommu_get_ops() to using the generic
IOMMU instance interface directly.

Tested-by: Marek Szyprowski <m.szyprowski@samsung.com>
Signed-off-by: Robin Murphy <robin.murphy@arm.com>
Signed-off-by: Joerg Roedel <jroedel@suse.de>