PCI: keystone: Propagate request_irq() failure
authorWei Yongjun <weiyj.lk@gmail.com>
Thu, 28 Jul 2016 16:16:18 +0000 (16:16 +0000)
committerBjorn Helgaas <bhelgaas@google.com>
Mon, 22 Aug 2016 19:28:42 +0000 (14:28 -0500)
commit8116acce5a7aba90d97170d04d4b497afa1b74cf
tree62c280d9ed47d9d587751ec79287ed4a55b10503
parent29b4817d4018df78086157ea3a55c1d9424a7cfc
PCI: keystone: Propagate request_irq() failure

Previously, if request_irq() failed, ks_add_pcie_port() always returned
zero (success).  Return the request_irq() failure result instead.

[bhelgaas: changelog]
Signed-off-by: Wei Yongjun <weiyj.lk@gmail.com>
Signed-off-by: Bjorn Helgaas <bhelgaas@google.com>
Acked-By: Murali Karicheri <m-karicheri2@ti.com>
drivers/pci/host/pci-keystone.c