diff options
author | Laurent Pinchart <laurent.pinchart@ideasonboard.com> | 2014-03-07 18:50:39 -0500 |
---|---|---|
committer | Laurent Pinchart <laurent.pinchart@ideasonboard.com> | 2014-04-16 10:30:17 -0400 |
commit | 67b779d28d6e8afdd79a70423324273018114cad (patch) | |
tree | d921f2b47c3e9b92738955c95f6cd05090ab2d75 | |
parent | f7129a0e4d5835b7851208d35984bc80116f1ed0 (diff) |
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>
-rw-r--r-- | drivers/iommu/omap-iommu.c | 1 |
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, | |||
1068 | int omap_pgsz; | 1068 | int omap_pgsz; |
1069 | u32 ret, flags; | 1069 | u32 ret, flags; |
1070 | 1070 | ||
1071 | /* we only support mapping a single iommu page for now */ | ||
1072 | omap_pgsz = bytes_to_iopgsz(bytes); | 1071 | omap_pgsz = bytes_to_iopgsz(bytes); |
1073 | if (omap_pgsz < 0) { | 1072 | if (omap_pgsz < 0) { |
1074 | dev_err(dev, "invalid size to map: %d\n", bytes); | 1073 | dev_err(dev, "invalid size to map: %d\n", bytes); |