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

Skip to content
Commit d6da2ce9 authored by Stepan Moskovchenko's avatar Stepan Moskovchenko Committed by Stephen Boyd
Browse files

msm: iommu: Fix error handling for uninitialized contexts



Do not return a context pointer if the context does not
have driver data associated with it to ensure that IOMMU
functions fail gracefully on targets where the IOMMU
hardware could not be found.

Change-Id: Ibf915251a4a133c2baaf9fb5b01145fb3c419347
Signed-off-by: default avatarStepan Moskovchenko <stepanm@codeaurora.org>
parent 26a87ed1
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment