diff options
author | Jisheng Zhang <Jisheng.Zhang@synaptics.com> | 2019-03-29 07:57:54 -0400 |
---|---|---|
committer | Bjorn Helgaas <bhelgaas@google.com> | 2019-05-07 09:53:53 -0400 |
commit | 9e2b5de5604a6ff2626c51e77014d92c9299722c (patch) | |
tree | 1aa1265e4c1aeeb5b2e730e354c6dece5f658392 /lib/mpi/mpiutil.c | |
parent | dc69a3d567941784c3d00e1d0834582b42b0b3e7 (diff) |
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 <Jisheng.Zhang@synaptics.com>
Signed-off-by: Lorenzo Pieralisi <lorenzo.pieralisi@arm.com>
Signed-off-by: Bjorn Helgaas <bhelgaas@google.com>
Acked-by: Gustavo Pimentel <gustavo.pimentel@synopsys.com>
Diffstat (limited to 'lib/mpi/mpiutil.c')
0 files changed, 0 insertions, 0 deletions