Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 67b779d2 authored by Laurent Pinchart's avatar Laurent Pinchart
Browse files

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: default avatarLaurent Pinchart <laurent.pinchart@ideasonboard.com>
Reviewed-by: default avatarSakari Ailus <sakari.ailus@iki.fi>
parent f7129a0e
Loading
Loading
Loading
Loading
+0 −1
Original line number Diff line number Diff line
@@ -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);