Gitweb: http://git.kernel.org/git/?p=linux/kernel/git/torvalds/linux-2.6.git;a=commit;h=199e9e7d1106686a85ee9fdf6a824051aa82682e Commit: 199e9e7d1106686a85ee9fdf6a824051aa82682e Parent: 0a5245099819b0ae0a8e985f54909ba8414faba5 Author: Alexey Starikovskiy <[EMAIL PROTECTED]> AuthorDate: Fri Aug 10 13:45:18 2007 -0700 Committer: Len Brown <[EMAIL PROTECTED]> CommitDate: Sat Aug 11 22:26:24 2007 -0400
ACPI EC: remove potential deadlock from EC Signed-off-by: Alexey Starikovskiy <[EMAIL PROTECTED]> Signed-off-by: Andrew Morton <[EMAIL PROTECTED]> Signed-off-by: Len Brown <[EMAIL PROTECTED]> --- drivers/acpi/ec.c | 2 -- 1 files changed, 0 insertions(+), 2 deletions(-) diff --git a/drivers/acpi/ec.c b/drivers/acpi/ec.c index b28b565..2300d81 100644 --- a/drivers/acpi/ec.c +++ b/drivers/acpi/ec.c @@ -710,9 +710,7 @@ static int acpi_ec_add(struct acpi_device *device) /* Check if we found the boot EC */ if (boot_ec) { if (boot_ec->gpe == ec->gpe) { - mutex_lock(&boot_ec->lock); ec_remove_handlers(boot_ec); - mutex_unlock(&boot_ec->lock); mutex_destroy(&boot_ec->lock); kfree(boot_ec); first_ec = boot_ec = NULL; - To unsubscribe from this list: send the line "unsubscribe git-commits-head" in the body of a message to [EMAIL PROTECTED] More majordomo info at http://vger.kernel.org/majordomo-info.html