commit | 4d7cdd9ea548530f8fd8804d3e3528532ce54afb | [log] [tgz] |
---|---|---|
author | Rohit Vaswani <rvaswani@codeaurora.org> | Tue Aug 18 17:57:44 2015 -0700 |
committer | Patrick Daly <pdaly@codeaurora.org> | Tue Sep 13 20:12:06 2016 -0700 |
tree | 66700130c344f8d42d5692fd0538d54934242751 | |
parent | daab041f5d282b3cb4366bc6e48aca99d2f1484a [diff] |
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>