diff mbox

[4/5] iommu/omap: Remove comment about supporting single page mappings only

Message ID 1394239574-2389-5-git-send-email-laurent.pinchart@ideasonboard.com (mailing list archive)
State New, archived
Headers show

Commit Message

Laurent Pinchart March 8, 2014, 12:46 a.m. UTC
The IOMMU core breaks out mappings into pages already, there's no
need to support mapping multiple pages in one go.

Signed-off-by: Laurent Pinchart <laurent.pinchart@ideasonboard.com>
 drivers/iommu/omap-iommu.c | 1 -
 1 file changed, 1 deletion(-)
diff mbox


diff --git a/drivers/iommu/omap-iommu.c b/drivers/iommu/omap-iommu.c
index fedd303..59de3fc 100644
--- a/drivers/iommu/omap-iommu.c
+++ b/drivers/iommu/omap-iommu.c
@@ -1043,7 +1043,6 @@  static int omap_iommu_map(struct iommu_domain *domain, unsigned long da,
 	int omap_pgsz;
 	u32 ret, flags;
-	/* we only support mapping a single iommu page for now */
 	omap_pgsz = bytes_to_iopgsz(bytes);
 	if (omap_pgsz < 0) {
 		dev_err(dev, "invalid size to map: %d\n", bytes);