diff options
author | Bjorn Helgaas <bhelgaas@google.com> | 2017-09-07 13:23:55 -0500 |
---|---|---|
committer | Bjorn Helgaas <bhelgaas@google.com> | 2017-09-07 13:23:55 -0500 |
commit | ee75520eb20cf3c9101742ecb219064ad4c3fec9 (patch) | |
tree | ec75e46b3dc3078e1d6704c79f4d722df60f38fa /drivers/pci/dwc/pcie-artpec6.c | |
parent | 199a0253e39dc62f419de1d00a7c7a16f4b0f720 (diff) | |
parent | 8c934095fa2f336d92b722f49f78ca7abf47e051 (diff) | |
download | blackbird-obmc-linux-ee75520eb20cf3c9101742ecb219064ad4c3fec9.tar.gz blackbird-obmc-linux-ee75520eb20cf3c9101742ecb219064ad4c3fec9.zip |
Merge branch 'pci/host-designware' into next
* pci/host-designware:
PCI: dwc: Clear MSI interrupt status after it is handled, not before
PCI: qcom: Allow ->post_init() to fail
PCI: qcom: Don't unroll init if ->init() fails
PCI: dwc: designware: Handle ->host_init() failures
PCI: dwc: designware: Test PCIE_ATU_ENABLE bit specifically
PCI: dwc: designware: Make dw_pcie_prog_*_atu_unroll() static
Diffstat (limited to 'drivers/pci/dwc/pcie-artpec6.c')
-rw-r--r-- | drivers/pci/dwc/pcie-artpec6.c | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/drivers/pci/dwc/pcie-artpec6.c b/drivers/pci/dwc/pcie-artpec6.c index d8782c1451a4..83d6ee050a79 100644 --- a/drivers/pci/dwc/pcie-artpec6.c +++ b/drivers/pci/dwc/pcie-artpec6.c @@ -175,13 +175,15 @@ static void artpec6_pcie_enable_interrupts(struct artpec6_pcie *artpec6_pcie) dw_pcie_msi_init(pp); } -static void artpec6_pcie_host_init(struct pcie_port *pp) +static int artpec6_pcie_host_init(struct pcie_port *pp) { struct dw_pcie *pci = to_dw_pcie_from_pp(pp); struct artpec6_pcie *artpec6_pcie = to_artpec6_pcie(pci); artpec6_pcie_establish_link(artpec6_pcie); artpec6_pcie_enable_interrupts(artpec6_pcie); + + return 0; } static const struct dw_pcie_host_ops artpec6_pcie_host_ops = { |