Removing get_parent_node call from acpi_enumerate_child_devices.
Afaict it looks like it results in unbalanced Acquire calls on the parent. CID 10393. git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@39964 a95241bf-73f2-0310-859d-f6bbb57e9c96
This commit is contained in:
@@ -74,9 +74,6 @@ acpi_enumerate_child_devices(device_node* node, const char* root)
|
|||||||
|
|
||||||
TRACE(("acpi_enumerate_child_devices: recursing from %s\n", root));
|
TRACE(("acpi_enumerate_child_devices: recursing from %s\n", root));
|
||||||
|
|
||||||
// get a reference on the parent
|
|
||||||
parent = gDeviceManager->get_parent_node(node);
|
|
||||||
|
|
||||||
while (get_next_entry(ACPI_TYPE_ANY, root, result,
|
while (get_next_entry(ACPI_TYPE_ANY, root, result,
|
||||||
sizeof(result), &counter) == B_OK) {
|
sizeof(result), &counter) == B_OK) {
|
||||||
uint32 type = get_object_type(result);
|
uint32 type = get_object_type(result);
|
||||||
|
|||||||
Reference in New Issue
Block a user