lantiq: Silence the printk when a PCIe error interrupt arrives
authorblogic <blogic@3c298f89-4303-0410-b956-a3cf2f4a3e73>
Tue, 7 Jul 2015 13:44:37 +0000 (13:44 +0000)
committerblogic <blogic@3c298f89-4303-0410-b956-a3cf2f4a3e73>
Tue, 7 Jul 2015 13:44:37 +0000 (13:44 +0000)
Basically the only error I am seeing is "Correctable Error". Also newer
lantiq PCIe drivers have this message wrapped in a "if debug enabled"
block. So it should be safe to disable this warning.

Signed-off-by: Martin Blumenstingl <martin.blumenstingl@googlemail.com>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@46222 3c298f89-4303-0410-b956-a3cf2f4a3e73

target/linux/lantiq/patches-3.18/0001-MIPS-lantiq-add-pcie-driver.patch

index 85311c2..b513e8a 100644 (file)
@@ -1105,7 +1105,7 @@ Signed-off-by: John Crispin <blogic@openwrt.org>
 +      int pcie_port = ctrl->port;
 +      u32 reg;
 +
-+      printk("PCIe RC error intr %d\n", irq);
++      pr_debug("PCIe RC error intr %d\n", irq);
 +      reg = IFX_REG_R32(PCIE_IRNCR(pcie_port));
 +      reg &= PCIE_RC_CORE_COMBINED_INT;
 +      IFX_REG_W32(reg, PCIE_IRNCR(pcie_port));