iommu: msm: check range before mapping for IOMMU-v1

Make sure iommu_map_range() does not leave a partial
mapping on error if part of the range is already mapped.

Change-Id: I108b45ce8935b73ecb65f375930fe5e00b8d91eb
Signed-off-by: Jeremy Gebben <jgebben@codeaurora.org>
1 file changed