We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents 3c298b8 + d8650c0 commit 98072e3Copy full SHA for 98072e3
drivers/pci/controller/pcie-apple.c
@@ -783,6 +783,10 @@ static int apple_pcie_init(struct pci_config_window *cfg)
783
cfg->priv = pcie;
784
INIT_LIST_HEAD(&pcie->ports);
785
786
+ ret = apple_msi_init(pcie);
787
+ if (ret)
788
+ return ret;
789
+
790
for_each_child_of_node(dev->of_node, of_port) {
791
ret = apple_pcie_setup_port(pcie, of_port);
792
if (ret) {
@@ -792,7 +796,7 @@ static int apple_pcie_init(struct pci_config_window *cfg)
796
}
793
797
794
798
795
- return apple_msi_init(pcie);
799
+ return 0;
800
801
802
static int apple_pcie_probe(struct platform_device *pdev)
0 commit comments