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

Commit 93927e37 authored by Patrick Daly's avatar Patrick Daly
Browse files

arm64: dma-mapping: Shut up some warnings



A warning is printed when the dma layer is unable to find a default
iommu domain. Since our implementation does not use the default domain,
this warning is meaningless. Change it to pr_debug to avoid confusion.

Change-Id: I3086ced33fcaf4086275315e55377ab940112063
Signed-off-by: default avatarPatrick Daly <pdaly@codeaurora.org>
parent d40483c4
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -976,7 +976,7 @@ static bool do_iommu_attach(struct device *dev, const struct iommu_ops *ops,
	 * device, and allocated the default domain for that group.
	 */
	if (!domain || iommu_dma_init_domain(domain, dma_base, size, dev)) {
		pr_warn("Failed to set up IOMMU for device %s; retaining platform DMA ops\n",
		pr_debug("Failed to set up IOMMU for device %s; retaining platform DMA ops\n",
			dev_name(dev));
		return false;
	}