ACPICA: Fix race in generic_serial_bus (I2C) and GPIO op_region parameter handling
[linux-2.6-microblaze.git] / drivers / acpi / acpica / evxfregn.c
index 7672d70..b1ff0a8 100644 (file)
@@ -201,6 +201,8 @@ acpi_remove_address_space_handler(acpi_handle device,
 
                        /* Now we can delete the handler object */
 
+                       acpi_os_release_mutex(handler_obj->address_space.
+                                             context_mutex);
                        acpi_ut_remove_reference(handler_obj);
                        goto unlock_and_exit;
                }