From 98a8f844c8c2e9a9bba5658f2052240ec4308981 Mon Sep 17 00:00:00 2001 From: Alexey Starikovskiy Date: Mon, 22 Oct 2007 14:18:50 +0400 Subject: [PATCH] --- yaml --- r: 72818 b: refs/heads/master c: 1c55053c21706ccf1fdb26b4bb6d05c4a2782ffe h: refs/heads/master v: v3 --- [refs] | 2 +- trunk/drivers/acpi/ec.c | 5 ----- 2 files changed, 1 insertion(+), 6 deletions(-) diff --git a/[refs] b/[refs] index 0106b9ccc0a0..280aad48b208 100644 --- a/[refs] +++ b/[refs] @@ -1,2 +1,2 @@ --- -refs/heads/master: 7843932ac42899b936085beaea8620d4489b8b3f +refs/heads/master: 1c55053c21706ccf1fdb26b4bb6d05c4a2782ffe diff --git a/trunk/drivers/acpi/ec.c b/trunk/drivers/acpi/ec.c index 50d55fe71a30..41a21fcdbcb8 100644 --- a/trunk/drivers/acpi/ec.c +++ b/trunk/drivers/acpi/ec.c @@ -258,9 +258,6 @@ static int acpi_ec_transaction(struct acpi_ec *ec, u8 command, } } - /* Make sure GPE is enabled before doing transaction */ - acpi_enable_gpe(NULL, ec->gpe, ACPI_NOT_ISR); - status = acpi_ec_wait(ec, ACPI_EC_EVENT_IBF_0, 0); if (status) { printk(KERN_ERR PREFIX @@ -638,12 +635,10 @@ static struct acpi_ec *make_acpi_ec(void) struct acpi_ec *ec = kzalloc(sizeof(struct acpi_ec), GFP_KERNEL); if (!ec) return NULL; - ec->flags = 1 << EC_FLAGS_QUERY_PENDING; mutex_init(&ec->lock); init_waitqueue_head(&ec->wait); INIT_LIST_HEAD(&ec->list); - return ec; }