From: Laurent Pinchart Date: Fri, 7 Mar 2014 23:50:39 +0000 (+0100) Subject: iommu/omap: Remove comment about supporting single page mappings only X-Git-Url: https://git.karo-electronics.de/?a=commitdiff_plain;h=67b779d28d6e8afdd79a70423324273018114cad;p=linux-beck.git 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 Reviewed-by: Sakari Ailus --- 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);