ACPI / hotplug / PCI: Scan root bus under the PCI rescan-remove lock
authorRafael J. Wysocki <rafael.j.wysocki@intel.com>
Mon, 3 Feb 2014 01:22:27 +0000 (02:22 +0100)
committerRafael J. Wysocki <rafael.j.wysocki@intel.com>
Mon, 3 Feb 2014 21:28:26 +0000 (22:28 +0100)
commitd42f5da2340083301dd2c48ff2d75f6ce4b30767
tree5b0552698709842d04c8cd72e292514a65d9bce2
parentf41b32613138ae05329a0f0e7170223b775d6b24
ACPI / hotplug / PCI: Scan root bus under the PCI rescan-remove lock

Since acpiphp_check_bridge() called by acpiphp_check_host_bridge()
does things that require PCI rescan-remove locking around it,
make acpiphp_check_host_bridge() use that locking.

Signed-off-by: Rafael J. Wysocki <rafael.j.wysocki@intel.com>
Tested-by: Mika Westerberg <mika.westerberg@linux.intel.com>
drivers/pci/hotplug/acpiphp_glue.c