]> xenbits.xensource.com Git - people/ssmith/nc2-2.6.27.git/commitdiff
commit 235c4a59278eb07e61d909f1f0c233733034a8b3
authorSteven Smith <ssmith@weybridge.uk.xensource.com>
Tue, 30 Jun 2009 11:55:47 +0000 (12:55 +0100)
committerSteven Smith <ssmith@weybridge.uk.xensource.com>
Tue, 30 Jun 2009 11:55:47 +0000 (12:55 +0100)
Author: Alexey Starikovskiy <astarikovskiy@suse.de>
Date:   Wed Jan 14 02:57:47 2009 +0300

    ACPI: EC: Limit workaround for ASUS notebooks even more

    References: http://bugzilla.kernel.org/show_bug.cgi?id=11884

Signed-off-by: Alexey Starikovskiy <astarikovskiy@suse.de>
Signed-off-by: Len Brown <len.brown@intel.com>
drivers/acpi/ec.c

index fbce0404c4514c7a018b8b709ccec87418d3109a..ec059b7fe54825d87c421ded0fa60a6db3cc5985 100644 (file)
@@ -1016,7 +1016,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)) {