Skip to content

Commit e4dfe10

Browse files
Erik Kanedarafaeljw
authored andcommitted
ACPICA: Clean up context mutex during object deletion
ACPICA commit bc43c878fd4ff27ba75b1d111b97ee90d4a82707 Fixes: c27f3d0 ("Fix race in GenericSerialBus (I2C) and GPIO OpRegion parameter handling") Link: acpica/acpica@bc43c878 Reported-by: John Garry <[email protected]> Reported-by: Xiang Chen <[email protected]> Tested-by: Xiang Chen <[email protected]> Signed-off-by: Erik Kaneda <[email protected]> Signed-off-by: Bob Moore <[email protected]> Signed-off-by: Rafael J. Wysocki <[email protected]>
1 parent 8124c8a commit e4dfe10

File tree

1 file changed

+8
-0
lines changed

1 file changed

+8
-0
lines changed

drivers/acpi/acpica/utdelete.c

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -285,6 +285,14 @@ static void acpi_ut_delete_internal_obj(union acpi_operand_object *object)
285285
}
286286
break;
287287

288+
case ACPI_TYPE_LOCAL_ADDRESS_HANDLER:
289+
290+
ACPI_DEBUG_PRINT((ACPI_DB_ALLOCATIONS,
291+
"***** Address handler %p\n", object));
292+
293+
acpi_os_delete_mutex(object->address_space.context_mutex);
294+
break;
295+
288296
default:
289297

290298
break;

0 commit comments

Comments
 (0)