summaryrefslogtreecommitdiff
path: root/include/uapi/linux
diff options
context:
space:
mode:
authorJoerg Roedel <jroedel@suse.de>2015-06-29 10:16:08 +0200
committerDavid Keitel <dkeitel@codeaurora.org>2016-03-22 11:15:13 -0700
commitf3a5289d8733c8c6aa956dce7ec3d7506db75ab1 (patch)
tree6fe9ce1fcc3ff9c4e5c953c71ce9c36027e59a84 /include/uapi/linux
parentfda3ec87d5f39e0130617a43000f5a916b72a06a (diff)
iommu: Ignore -ENODEV errors from add_device call-back
The -ENODEV error just means that the device is not translated by an IOMMU. We shouldn't bail out of iommu driver initialization when that happens, as this is a common scenario on ARM. Not returning -ENODEV in the drivers would be a bad idea, as the IOMMU core would have no indication whether a device is translated or not. This indication is not used at the moment, but will probably be in the future. Fixes: 19762d7 ("iommu: Propagate error in add_iommu_group") Tested-by: Marek Szyprowski <m.szyprowski@samsung.com> Tested-by: Eric Auger <eric.auger@linaro.org> Tested-by: Heiko Stuebner <heiko@sntech.de> Signed-off-by: Joerg Roedel <jroedel@suse.de>
Diffstat (limited to 'include/uapi/linux')
0 files changed, 0 insertions, 0 deletions