1 From: Alexey Starikovskiy <astarikovskiy@suse.de>
2 Subject: ACPI: EC: Limit workaround for ASUS notebooks even more
3 References: bnc#492658 bnc#496871 and others
5 Commit-ID: 235c4a59278eb07e61d909f1f0c233733034a8b3
7 Signed-off-by: Thomas Renninger <trenn@suse.de>
9 References: http://bugzilla.kernel.org/show_bug.cgi?id=11884
11 Signed-off-by: Alexey Starikovskiy <astarikovskiy@suse.de>
12 Signed-off-by: Len Brown <len.brown@intel.com>
15 drivers/acpi/ec.c | 3 ++-
16 1 file changed, 2 insertions(+), 1 deletion(-)
18 Index: linux-2.6.27-SLE11_BRANCH/drivers/acpi/ec.c
19 ===================================================================
20 --- linux-2.6.27-SLE11_BRANCH.orig/drivers/acpi/ec.c
21 +++ linux-2.6.27-SLE11_BRANCH/drivers/acpi/ec.c
22 @@ -1017,7 +1017,8 @@ int __init acpi_ec_ecdt_probe(void)
23 * which needs it, has fake EC._INI method, so use it as flag.
24 * Keep boot_ec struct as it will be needed soon.
26 - if (ACPI_FAILURE(acpi_get_handle(boot_ec->handle, "_INI", &dummy)))
27 + if (!dmi_name_in_vendors("ASUS") ||
28 + ACPI_FAILURE(acpi_get_handle(boot_ec->handle, "_INI", &dummy)))
31 if (!ec_install_handlers(boot_ec)) {