]> www.pilppa.org Git - linux-2.6-omap-h63xx.git/commitdiff
ACPI: EC: Limit workaround for ASUS notebooks even more
authorAlexey Starikovskiy <astarikovskiy@suse.de>
Tue, 13 Jan 2009 23:57:47 +0000 (02:57 +0300)
committerLen Brown <len.brown@intel.com>
Fri, 16 Jan 2009 19:00:51 +0000 (14:00 -0500)
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 8dfcbb8aff7398a5b75061b52eab15298726dd0e..e0794264b9f784799584785e91d2737018d3ce38 100644 (file)
@@ -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)) {