Marc Zyngier 4d191b1b63 PCI/MSI: pci-xgene-msi: Fix CPU hotplug registration handling
The conversion to the new hotplug state machine introduced a regression
where a successful hotplug registration would be treated as an error,
effectively disabling the MSI driver forever.

Fix it by doing the proper check on the return value.

Fixes: 9c248f8896e6 ("PCI/xgene-msi: Convert to hotplug state machine")
Signed-off-by: Marc Zyngier <marc.zyngier@arm.com>
Signed-off-by: Bjorn Helgaas <bhelgaas@google.com>
Acked-by: Sebastian Andrzej Siewior <bigeasy@linutronix.de>
Tested-by: Duc Dang <dhdang@apm.com>
CC: Thomas Gleixner <tglx@linutronix.de>
CC: stable@vger.kernel.org
2017-01-17 08:41:51 -06:00
..
2016-12-15 12:46:48 -08:00
2015-08-13 15:59:59 -05:00
2016-12-15 12:46:48 -08:00
2016-12-12 11:25:04 -06:00
2016-10-03 09:43:21 -05:00
2016-12-15 12:46:48 -08:00
2014-06-10 20:20:19 -06:00
2016-11-21 16:25:32 -06:00
2016-12-25 17:21:22 +01:00
2016-11-29 18:05:09 -06:00
2016-06-20 13:24:20 -05:00