Skip to content

Commit 090fc11

Browse files
committed
Merge branch 'pci/controller/rockchip-host'
- Fix log message that said "malformed TLP" when it should have said "Unexpected Completion" (Hans Zhang) - Fix log message that said "no fatal error" when it should have said "non fatal error" (Hans Zhang) - Remove several unused header includes (Hans Zhang) * pci/controller/rockchip-host: PCI: rockchip-host: Remove unused header includes PCI: rockchip-host: Correct non-fatal error log message PCI: rockchip-host: Fix "Unexpected Completion" log message
2 parents 90eb421 + 1fdb13f commit 090fc11

File tree

1 file changed

+2
-11
lines changed

1 file changed

+2
-11
lines changed

drivers/pci/controller/pcie-rockchip-host.c

Lines changed: 2 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -13,26 +13,17 @@
1313

1414
#include <linux/bitfield.h>
1515
#include <linux/bitrev.h>
16-
#include <linux/clk.h>
17-
#include <linux/delay.h>
1816
#include <linux/gpio/consumer.h>
19-
#include <linux/init.h>
2017
#include <linux/interrupt.h>
2118
#include <linux/iopoll.h>
2219
#include <linux/irq.h>
2320
#include <linux/irqchip/chained_irq.h>
2421
#include <linux/irqdomain.h>
25-
#include <linux/kernel.h>
26-
#include <linux/mfd/syscon.h>
2722
#include <linux/module.h>
2823
#include <linux/of.h>
2924
#include <linux/of_pci.h>
30-
#include <linux/pci.h>
31-
#include <linux/pci_ids.h>
3225
#include <linux/phy/phy.h>
3326
#include <linux/platform_device.h>
34-
#include <linux/reset.h>
35-
#include <linux/regmap.h>
3627

3728
#include "../pci.h"
3829
#include "pcie-rockchip.h"
@@ -444,7 +435,7 @@ static irqreturn_t rockchip_pcie_subsys_irq_handler(int irq, void *arg)
444435
dev_dbg(dev, "malformed TLP received from the link\n");
445436

446437
if (sub_reg & PCIE_CORE_INT_UCR)
447-
dev_dbg(dev, "malformed TLP received from the link\n");
438+
dev_dbg(dev, "Unexpected Completion received from the link\n");
448439

449440
if (sub_reg & PCIE_CORE_INT_FCE)
450441
dev_dbg(dev, "an error was observed in the flow control advertisements from the other side\n");
@@ -494,7 +485,7 @@ static irqreturn_t rockchip_pcie_client_irq_handler(int irq, void *arg)
494485
dev_dbg(dev, "fatal error interrupt received\n");
495486

496487
if (reg & PCIE_CLIENT_INT_NFATAL_ERR)
497-
dev_dbg(dev, "no fatal error interrupt received\n");
488+
dev_dbg(dev, "non fatal error interrupt received\n");
498489

499490
if (reg & PCIE_CLIENT_INT_CORR_ERR)
500491
dev_dbg(dev, "correctable error interrupt received\n");

0 commit comments

Comments
 (0)