lantiq: Silence the printk when a PCIe error interrupt arrives
authorJohn Crispin <john@openwrt.org>
Tue, 7 Jul 2015 13:44:37 +0000 (13:44 +0000)
committerJohn Crispin <john@openwrt.org>
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>
SVN-Revision: 46222

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

index 85311c21f2a766415fcaf214890df798cd30b07c..b513e8a33adac56179a0e1b6e21e3171debd75f9 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));