PCI: xgene: Fix platform_get_irq() error handling
authorFabio Estevam <fabio.estevam@nxp.com>
Thu, 31 Aug 2017 17:52:06 +0000 (14:52 -0300)
committerBjorn Helgaas <bhelgaas@google.com>
Thu, 7 Sep 2017 13:52:42 +0000 (08:52 -0500)
commitc7aca96aa48d59b08763452cf1881b7411876c59
tree2df95d8da7ca1007382a3c064db0ca76646d2564
parent16f73eb02d7e1765ccab3d2018e0bd98eb93d973
PCI: xgene: Fix platform_get_irq() error handling

When platform_get_irq() fails we should propagate the real error value
instead of always returning -EINVAL.

Signed-off-by: Fabio Estevam <fabio.estevam@nxp.com>
Signed-off-by: Bjorn Helgaas <bhelgaas@google.com>
Cc: Duc Dang <dhdang@apm.com>
drivers/pci/host/pci-xgene-msi.c