From patchwork Tue Jan 13 23:57:47 2009 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Alexey Starikovskiy X-Patchwork-Id: 2251 Received: from vger.kernel.org (vger.kernel.org [209.132.176.167]) by demeter.kernel.org (8.14.2/8.14.2) with ESMTP id n0DNs46F023686 for ; Tue, 13 Jan 2009 15:54:06 -0800 Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1751094AbZAMX5q (ORCPT ); Tue, 13 Jan 2009 18:57:46 -0500 Received: (majordomo@vger.kernel.org) by vger.kernel.org id S1757595AbZAMX5q (ORCPT ); Tue, 13 Jan 2009 18:57:46 -0500 Received: from charybdis-ext.suse.de ([195.135.221.2]:33902 "EHLO emea5-mh.id5.novell.com" rhost-flags-OK-OK-OK-FAIL) by vger.kernel.org with ESMTP id S1751094AbZAMX5p (ORCPT ); Tue, 13 Jan 2009 18:57:45 -0500 Received: from [127.0.1.1] ([149.44.162.75]) by emea5-mh.id5.novell.com with ESMTP; Wed, 14 Jan 2009 00:57:42 +0100 From: Alexey Starikovskiy To: Len Brown Cc: Linux-acpi@vger.kernel.org Subject: [PATCH 2/3] ACPI: EC: Limit workaround for ASUS notebooks even more Date: Wed, 14 Jan 2009 02:57:47 +0300 Message-ID: <20090113235746.10548.22798.stgit@thinkpad> In-Reply-To: <20090113235739.10548.20626.stgit@thinkpad> References: <20090113235739.10548.20626.stgit@thinkpad> User-Agent: StGIT/0.14.2 MIME-Version: 1.0 Sender: linux-acpi-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-acpi@vger.kernel.org References: http://bugzilla.kernel.org/show_bug.cgi?id=11884 Signed-off-by: Alexey Starikovskiy --- drivers/acpi/ec.c | 3 ++- 1 files changed, 2 insertions(+), 1 deletions(-) -- To unsubscribe from this list: send the line "unsubscribe linux-acpi" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html diff --git a/drivers/acpi/ec.c b/drivers/acpi/ec.c index 8dfcbb8..e079426 100644 --- a/drivers/acpi/ec.c +++ b/drivers/acpi/ec.c @@ -1027,7 +1027,8 @@ int __init acpi_ec_ecdt_probe(void) * which needs it, has fake EC._INI method, so use it as flag. * Keep boot_ec struct as it will be needed soon. */ - if (ACPI_FAILURE(acpi_get_handle(boot_ec->handle, "_INI", &dummy))) + if (!dmi_name_in_vendors("ASUS") || + ACPI_FAILURE(acpi_get_handle(boot_ec->handle, "_INI", &dummy))) return -ENODEV; install: if (!ec_install_handlers(boot_ec)) {