aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--drivers/gpu/drm/msm/msm_iommu.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/gpu/drm/msm/msm_iommu.c b/drivers/gpu/drm/msm/msm_iommu.c
index 92b745986231..198ed848fec7 100644
--- a/drivers/gpu/drm/msm/msm_iommu.c
+++ b/drivers/gpu/drm/msm/msm_iommu.c
@@ -110,7 +110,7 @@ static int msm_iommu_unmap(struct msm_mmu *mmu, uint32_t iova,
110 110
111 VERB("unmap[%d]: %08x(%x)", i, iova, bytes); 111 VERB("unmap[%d]: %08x(%x)", i, iova, bytes);
112 112
113 BUG_ON(!IS_ALIGNED(bytes, PAGE_SIZE)); 113 BUG_ON(!PAGE_ALIGNED(bytes));
114 114
115 da += bytes; 115 da += bytes;
116 } 116 }