aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/pci/controller/dwc/pci-exynos.c
diff options
context:
space:
mode:
authorDmitry Baryshkov <[email protected]>2022-07-07 13:47:28 +0000
committerBjorn Helgaas <[email protected]>2022-08-01 20:15:32 +0000
commit3c62f878a9695111a43dc2c1f90cf4b15efc76a0 (patch)
treeaba59edd1ad7f3d088381434b47a3095ee57364d /drivers/pci/controller/dwc/pci-exynos.c
parentPCI: dwc: Use the bitmap API to allocate bitmaps (diff)
downloadkernel-3c62f878a9695111a43dc2c1f90cf4b15efc76a0.tar.gz
kernel-3c62f878a9695111a43dc2c1f90cf4b15efc76a0.zip
PCI: dwc: Correct msi_irq condition in dw_pcie_free_msi()
The dwc-based drivers set pp->msi_irq to -ENODEV if they do not want the dwc core to do anything with pp->msi_irq. dw_pcie_host_init() sets the handler and data when "pp->msi_irq > 0", so use the same condition when removing the handler and data in dw_pcie_free_msi(). Link: https://lore.kernel.org/r/[email protected] Signed-off-by: Dmitry Baryshkov <[email protected]> Signed-off-by: Bjorn Helgaas <[email protected]> Reviewed-by: Rob Herring <[email protected]> Reviewed-by: Johan Hovold <[email protected]> Reviewed-by: Manivannan Sadhasivam <[email protected]>
Diffstat (limited to 'drivers/pci/controller/dwc/pci-exynos.c')
0 files changed, 0 insertions, 0 deletions