FPII-2231: Elevation of privilege vulnerability in Qualcomm components CVE-2015-8943 ANDROID-28815158

msm: mdss: Unmap only when buffer was mapped
Currently buffer is unmapped if iommu is attached.
This can lead to potential unmap issues if wrong addresses are sent and are tried to unmap without mapping.
Hence ensure unmap is done only when buffer is mapped.
CR#794217, CR#836226

Change-Id: I9741a85c3ec8a9c1094e921eb62ccb9493f48f45
2 files changed