[PATCH] acpi bridge hotadd: Allow ACPI .add and .start operations to be done independently
Create new interfaces to recursively add an acpi namespace object to the acpi device list, and recursively start the namespace object. This is needed for ACPI based hotplug of a root bridge hierarchy where the add operation must be performed first and the start operation must be performed separately after the hot-plugged devices have been properly configured. Signed-off-by: Rajesh Shah <rajesh.shah@intel.com> Signed-off-by: Andrew Morton <akpm@osdl.org> Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
This commit is contained in:
committed by
Greg Kroah-Hartman
parent
f7d473d919
commit
3fb02738b0
@@ -153,7 +153,7 @@ container_device_add(struct acpi_device **device, acpi_handle handle)
|
||||
return_VALUE(-ENODEV);
|
||||
}
|
||||
|
||||
result = acpi_bus_scan(*device);
|
||||
result = acpi_bus_start(*device);
|
||||
|
||||
return_VALUE(result);
|
||||
}
|
||||
|
Reference in New Issue
Block a user