[PATCH 2/2] PCI: layerscape: be less noisy when no iommu node is found

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



The upstream device tree files do not have the iommu nodes and
properties, so do not complain too loudly when they are not found.

Signed-off-by: Sascha Hauer <s.hauer@xxxxxxxxxxxxxx>
---
 drivers/pci/pci-layerscape.c | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/drivers/pci/pci-layerscape.c b/drivers/pci/pci-layerscape.c
index c4ed529181..53be43b28f 100644
--- a/drivers/pci/pci-layerscape.c
+++ b/drivers/pci/pci-layerscape.c
@@ -396,8 +396,8 @@ static int ls_pcie_of_fixup(struct device_node *root, void *ctx)
 
 	ret = ls_pcie_get_iommu_handle(np, &iommu_handle);
 	if (ret) {
-		dev_err(pcie->pci.dev, "Unable to get iommu phandle\n");
-		return ret;
+		dev_info(pcie->pci.dev, "No iommu phandle, won't fixup\n");
+		return 0;
 	}
 
 	if (ls_pcie_share_stream_id) {
-- 
2.25.1


_______________________________________________
barebox mailing list
barebox@xxxxxxxxxxxxxxxxxxx
http://lists.infradead.org/mailman/listinfo/barebox



[Index of Archives]     [Linux Embedded]     [Linux USB Devel]     [Linux Audio Users]     [Yosemite News]     [Linux Kernel]     [Linux SCSI]     [XFree86]

  Powered by Linux