ACPI / hotplug / PCI: Mark stale PCI devices disconnected
authorMika Westerberg <mika.westerberg@linux.intel.com>
Tue, 29 May 2018 16:02:23 +0000 (19:02 +0300)
committerBjorn Helgaas <bhelgaas@google.com>
Mon, 4 Jun 2018 17:08:06 +0000 (12:08 -0500)
commit8f004f4a34fd129622567cbec381101cc5ff7f09
treeffba13fddf691eb2e151d6e61697cd7045a1ff7d
parent84c8b58ed3addf17d3beb2e5037b001ffa65c5ef
ACPI / hotplug / PCI: Mark stale PCI devices disconnected

Following PCIehp mark the unplugged PCI devices disconnected.  This makes
sure PCI core code leaves the now missing hardware registers alone.

Signed-off-by: Mika Westerberg <mika.westerberg@linux.intel.com>
Signed-off-by: Bjorn Helgaas <bhelgaas@google.com>
Reviewed-by: Rafael J. Wysocki <rafael.j.wysocki@intel.com>
Reviewed-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
drivers/pci/hotplug/acpiphp_glue.c