Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit e8eb6228 authored by Len Brown's avatar Len Brown
Browse files

Merge branch 'bugzilla-16422' into release

parents ecd8ee09 108029ff
Loading
Loading
Loading
Loading
+2 −1
Original line number Original line Diff line number Diff line
@@ -100,7 +100,8 @@ do_acpi_find_child(acpi_handle handle, u32 lvl, void *context, void **rv)


	status = acpi_get_object_info(handle, &info);
	status = acpi_get_object_info(handle, &info);
	if (ACPI_SUCCESS(status)) {
	if (ACPI_SUCCESS(status)) {
		if (info->address == find->address)
		if ((info->address == find->address)
			&& (info->valid & ACPI_VALID_ADR))
			find->handle = handle;
			find->handle = handle;
		kfree(info);
		kfree(info);
	}
	}