From: Alexey Starikovskiy Date: Tue, 13 Jan 2009 23:57:47 +0000 (+0300) Subject: ACPI: EC: Limit workaround for ASUS notebooks even more X-Git-Tag: v2.6.29-rc2~1^2~3^2~1 X-Git-Url: http://pilppa.com/gitweb/?a=commitdiff_plain;h=235c4a59278eb07e61d909f1f0c233733034a8b3;p=linux-2.6-omap-h63xx.git ACPI: EC: Limit workaround for ASUS notebooks even more References: http://bugzilla.kernel.org/show_bug.cgi?id=11884 Signed-off-by: Alexey Starikovskiy Signed-off-by: Len Brown --- diff --git a/drivers/acpi/ec.c b/drivers/acpi/ec.c index 8dfcbb8aff7..e0794264b9f 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)) {