summaryrefslogtreecommitdiffstats
path: root/drivers/iommu/omap-iommu.c
diff options
context:
space:
mode:
authorLaurent Pinchart <laurent.pinchart@ideasonboard.com>2014-03-08 00:50:39 +0100
committerLaurent Pinchart <laurent.pinchart@ideasonboard.com>2014-04-16 16:30:17 +0200
commit67b779d28d6e8afdd79a70423324273018114cad (patch)
treed921f2b47c3e9b92738955c95f6cd05090ab2d75 /drivers/iommu/omap-iommu.c
parentiommu/omap: Fix 'no page for' debug message in flush_iotlb_page() (diff)
downloadlinux-67b779d28d6e8afdd79a70423324273018114cad.tar.xz
linux-67b779d28d6e8afdd79a70423324273018114cad.zip
iommu/omap: Remove comment about supporting single page mappings only
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> Reviewed-by: Sakari Ailus <sakari.ailus@iki.fi>
Diffstat (limited to 'drivers/iommu/omap-iommu.c')
-rw-r--r--drivers/iommu/omap-iommu.c1
1 files changed, 0 insertions, 1 deletions
diff --git a/drivers/iommu/omap-iommu.c b/drivers/iommu/omap-iommu.c
index b5787f151dfc..31cebf20285c 100644
--- a/drivers/iommu/omap-iommu.c
+++ b/drivers/iommu/omap-iommu.c
@@ -1068,7 +1068,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);