]> git.karo-electronics.de Git - linux-beck.git/commitdiff
iommu/omap: Remove comment about supporting single page mappings only
authorLaurent Pinchart <laurent.pinchart@ideasonboard.com>
Fri, 7 Mar 2014 23:50:39 +0000 (00:50 +0100)
committerLaurent Pinchart <laurent.pinchart@ideasonboard.com>
Wed, 16 Apr 2014 14:30:17 +0000 (16:30 +0200)
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>
drivers/iommu/omap-iommu.c

index b5787f151dfceae65d12d65625a6764c2684d81a..31cebf20285c3053681074eff2af4fd261448d23 100644 (file)
@@ -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);