Sinan Kaya 1842623850 PCI: Handle error return from pci_reset_bridge_secondary_bus()
Commit 01fd61c0b9bd ("PCI: Add a return type for
pci_reset_bridge_secondary_bus()") added a return value to the function to
return if a device is accessible following a reset.  Callers are not
checking the value.

Pass error code up high in the stack if device is not accessible.

Fixes: 01fd61c0b9bd ("PCI: Add a return type for pci_reset_bridge_secondary_bus()")
Signed-off-by: Sinan Kaya <okaya@codeaurora.org>
Signed-off-by: Bjorn Helgaas <bhelgaas@google.com>
2018-07-19 18:04:23 -05:00
..
2018-02-09 09:44:25 -08:00
2018-02-01 11:40:07 -06:00
2018-02-01 11:40:07 -06:00
2018-02-01 11:40:07 -06:00
2018-02-01 11:40:07 -06:00
2018-02-06 09:59:40 -08:00
2018-02-06 09:59:40 -08:00
2018-02-06 09:59:40 -08:00
2018-02-06 09:59:40 -08:00
2018-02-01 11:40:07 -06:00
2018-06-04 12:08:06 -05:00