Skip to content

Commit f2d4def

Browse files
committed
Merge branch 'pci/controller/j721e'
- Correct the 'link down' interrupt bit for J784S4 (Siddharth Vadapalli) * pci/controller/j721e: PCI: j721e: Fix the value of .linkdown_irq_regfield for J784S4
2 parents ad49cd4 + d66b5b3 commit f2d4def

File tree

1 file changed

+3
-2
lines changed

1 file changed

+3
-2
lines changed

drivers/pci/controller/cadence/pci-j721e.c

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -355,6 +355,7 @@ static const struct j721e_pcie_data j7200_pcie_rc_data = {
355355
static const struct j721e_pcie_data j7200_pcie_ep_data = {
356356
.mode = PCI_MODE_EP,
357357
.quirk_detect_quiet_flag = true,
358+
.linkdown_irq_regfield = J7200_LINK_DOWN,
358359
.quirk_disable_flr = true,
359360
.max_lanes = 2,
360361
};
@@ -376,13 +377,13 @@ static const struct j721e_pcie_data j784s4_pcie_rc_data = {
376377
.mode = PCI_MODE_RC,
377378
.quirk_retrain_flag = true,
378379
.byte_access_allowed = false,
379-
.linkdown_irq_regfield = LINK_DOWN,
380+
.linkdown_irq_regfield = J7200_LINK_DOWN,
380381
.max_lanes = 4,
381382
};
382383

383384
static const struct j721e_pcie_data j784s4_pcie_ep_data = {
384385
.mode = PCI_MODE_EP,
385-
.linkdown_irq_regfield = LINK_DOWN,
386+
.linkdown_irq_regfield = J7200_LINK_DOWN,
386387
.max_lanes = 4,
387388
};
388389

0 commit comments

Comments
 (0)