Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Skip to content
Commit ef4815ab authored by Martin Hostettler's avatar Martin Hostettler Committed by Tony Lindgren
Browse files

omap: iommu: Gracefully fail iommu_enable if no arch_iommu is registered



In a modular build of the iommu code it's possible that the arch iommu code
isn't loaded when trying to enable the iommu. Instead of blindly following a
null pointer return -NODEV in that case.

Signed-off-by: default avatarMartin Hostettler <martin@neutronstar.dyndns.org>
Signed-off-by: default avatarTony Lindgren <tony@atomide.com>
parent 7cab8713
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment