diff options
| author | Jisheng Zhang <[email protected]> | 2019-03-29 11:57:54 +0000 |
|---|---|---|
| committer | Bjorn Helgaas <[email protected]> | 2019-05-07 13:53:53 +0000 |
| commit | 9e2b5de5604a6ff2626c51e77014d92c9299722c (patch) | |
| tree | 1aa1265e4c1aeeb5b2e730e354c6dece5f658392 /drivers/pci/controller/vmd.c | |
| parent | PCI: dwc: Free MSI IRQ page in dw_pcie_free_msi() (diff) | |
| download | kernel-9e2b5de5604a6ff2626c51e77014d92c9299722c.tar.gz kernel-9e2b5de5604a6ff2626c51e77014d92c9299722c.zip | |
PCI: dwc: Free MSI in dw_pcie_host_init() error path
If we ever did MSI-related initializations, we need to call
dw_pcie_free_msi() in the error code path.
Remove the IS_ENABLED(CONFIG_PCI_MSI) check for MSI init because
pci_msi_enabled() already has a stub for !CONFIG_PCI_MSI.
Signed-off-by: Jisheng Zhang <[email protected]>
Signed-off-by: Lorenzo Pieralisi <[email protected]>
Signed-off-by: Bjorn Helgaas <[email protected]>
Acked-by: Gustavo Pimentel <[email protected]>
Diffstat (limited to 'drivers/pci/controller/vmd.c')
0 files changed, 0 insertions, 0 deletions
