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:Rohit Vaswani <rvaswani@codeaurora.org> Signed-off-by:
Patrick Daly <pdaly@codeaurora.org>
Loading
Please register or sign in to comment