mirror of
https://github.com/torvalds/linux.git
synced 2026-06-07 05:55:44 +02:00
ACPICA: Clean up context mutex during object deletion
[ Upstream commite4dfe10837] ACPICA commit bc43c878fd4ff27ba75b1d111b97ee90d4a82707 Fixes:c27f3d011b("Fix race in GenericSerialBus (I2C) and GPIO OpRegion parameter handling") Link: https://github.com/acpica/acpica/commit/bc43c878 Reported-by: John Garry <john.garry@huawei.com> Reported-by: Xiang Chen <chenxiang66@hisilicon.com> Tested-by: Xiang Chen <chenxiang66@hisilicon.com> Signed-off-by: Erik Kaneda <erik.kaneda@intel.com> Signed-off-by: Bob Moore <robert.moore@intel.com> Signed-off-by: Rafael J. Wysocki <rafael.j.wysocki@intel.com> Signed-off-by: Sasha Levin <sashal@kernel.org>
This commit is contained in:
parent
df7c913f90
commit
100c872c75
|
|
@ -285,6 +285,14 @@ static void acpi_ut_delete_internal_obj(union acpi_operand_object *object)
|
||||||
}
|
}
|
||||||
break;
|
break;
|
||||||
|
|
||||||
|
case ACPI_TYPE_LOCAL_ADDRESS_HANDLER:
|
||||||
|
|
||||||
|
ACPI_DEBUG_PRINT((ACPI_DB_ALLOCATIONS,
|
||||||
|
"***** Address handler %p\n", object));
|
||||||
|
|
||||||
|
acpi_os_delete_mutex(object->address_space.context_mutex);
|
||||||
|
break;
|
||||||
|
|
||||||
default:
|
default:
|
||||||
|
|
||||||
break;
|
break;
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue
Block a user