|
13 | 13 |
|
14 | 14 | #include <linux/bitfield.h>
|
15 | 15 | #include <linux/bitrev.h>
|
16 |
| -#include <linux/clk.h> |
17 |
| -#include <linux/delay.h> |
18 | 16 | #include <linux/gpio/consumer.h>
|
19 |
| -#include <linux/init.h> |
20 | 17 | #include <linux/interrupt.h>
|
21 | 18 | #include <linux/iopoll.h>
|
22 | 19 | #include <linux/irq.h>
|
23 | 20 | #include <linux/irqchip/chained_irq.h>
|
24 | 21 | #include <linux/irqdomain.h>
|
25 |
| -#include <linux/kernel.h> |
26 |
| -#include <linux/mfd/syscon.h> |
27 | 22 | #include <linux/module.h>
|
28 | 23 | #include <linux/of.h>
|
29 | 24 | #include <linux/of_pci.h>
|
30 |
| -#include <linux/pci.h> |
31 |
| -#include <linux/pci_ids.h> |
32 | 25 | #include <linux/phy/phy.h>
|
33 | 26 | #include <linux/platform_device.h>
|
34 |
| -#include <linux/reset.h> |
35 |
| -#include <linux/regmap.h> |
36 | 27 |
|
37 | 28 | #include "../pci.h"
|
38 | 29 | #include "pcie-rockchip.h"
|
@@ -444,7 +435,7 @@ static irqreturn_t rockchip_pcie_subsys_irq_handler(int irq, void *arg)
|
444 | 435 | dev_dbg(dev, "malformed TLP received from the link\n");
|
445 | 436 |
|
446 | 437 | 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"); |
448 | 439 |
|
449 | 440 | if (sub_reg & PCIE_CORE_INT_FCE)
|
450 | 441 | 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)
|
494 | 485 | dev_dbg(dev, "fatal error interrupt received\n");
|
495 | 486 |
|
496 | 487 | 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"); |
498 | 489 |
|
499 | 490 | if (reg & PCIE_CLIENT_INT_CORR_ERR)
|
500 | 491 | dev_dbg(dev, "correctable error interrupt received\n");
|
|
0 commit comments