Skip to content

Commit

Permalink
iommu/omap: Remove comment about supporting single page mappings only
Browse files Browse the repository at this point in the history
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>
  • Loading branch information
Laurent Pinchart committed Apr 16, 2014
1 parent f7129a0 commit 67b779d
Showing 1 changed file with 0 additions and 1 deletion.
1 change: 0 additions & 1 deletion drivers/iommu/omap-iommu.c
Original file line number Diff line number Diff line change
Expand Up @@ -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);
Expand Down

0 comments on commit 67b779d

Please sign in to comment.