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

Skip to content
Commit 599de5c6 authored by Rohit Vaswani's avatar Rohit Vaswani Committed by David Keitel
Browse files

iommu/arm-smmu: Check the return type of map_sg and take appropriate action



We cannot call unmap directly if the map_sg fails partially as the tlb
invalidate functions need to enable/prepare clocks, which require
non-atomic context. Let map_sg return the failure and handle this when
we are out of the atomic context.

Change-Id: I6401c1e281850aeda27e32524cae34324045f762
Signed-off-by: default avatarRohit Vaswani <rvaswani@codeaurora.org>
parent 09340685
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