diff options
author | Mika Westerberg <mika.westerberg@linux.intel.com> | 2016-06-02 11:17:14 +0300 |
---|---|---|
committer | Bjorn Helgaas <bhelgaas@google.com> | 2016-06-13 14:58:04 -0500 |
commit | 16468c783cb4cf72475dcda23fabecb4a4bb0e17 (patch) | |
tree | bf84679e50ed59f970140109d98e21d68a4f4a7f /lib/mpi/mpiutil.c | |
parent | d963f6512e15fb2c0a9e9770078e2206f55c2f7a (diff) |
ACPI / hotplug / PCI: Runtime resume bridge before rescan
If a PCI bridge (or PCIe port) that is runtime suspended gets an ACPI
hotplug event, such as BUS_CHECK we need to make sure it is resumed before
devices below the bridge are re-scanned. Otherwise the devices behind the
port are not accessible and will be treated as hot-unplugged.
To fix this, resume PCI bridges from runtime suspend while rescanning.
Signed-off-by: Mika Westerberg <mika.westerberg@linux.intel.com>
Signed-off-by: Bjorn Helgaas <bhelgaas@google.com>
Acked-by: Rafael J. Wysocki <rafael.j.wysocki@intel.com>
Diffstat (limited to 'lib/mpi/mpiutil.c')
0 files changed, 0 insertions, 0 deletions