mirror of
https://github.com/torvalds/linux.git
synced 2026-12-02 19:42:26 +00:00
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: 9c248f8896 ("PCI/xgene-msi: Convert to hotplug state machine")
Signed-off-by: Marc Zyngier <[email protected]>
Signed-off-by: Bjorn Helgaas <[email protected]>
Acked-by: Sebastian Andrzej Siewior <[email protected]>
Tested-by: Duc Dang <[email protected]>
CC: Thomas Gleixner <[email protected]>
CC: [email protected]