Skip to content

Commit

Permalink
ACPICA: Clean up context mutex during object deletion
Browse files Browse the repository at this point in the history
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]>
  • Loading branch information
Erik Kaneda authored and rafaeljw committed May 31, 2021
1 parent 8124c8a commit e4dfe10
Showing 1 changed file with 8 additions and 0 deletions.
8 changes: 8 additions & 0 deletions drivers/acpi/acpica/utdelete.c
Original file line number Diff line number Diff line change
Expand Up @@ -285,6 +285,14 @@ static void acpi_ut_delete_internal_obj(union acpi_operand_object *object)
}
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:

break;
Expand Down

0 comments on commit e4dfe10

Please sign in to comment.