]>
Commit | Line | Data |
---|---|---|
00e5a55c BS |
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 | |
4 | Patch-Mainline: yes | |
5 | Commit-ID: 235c4a59278eb07e61d909f1f0c233733034a8b3 | |
6 | ||
7 | Signed-off-by: Thomas Renninger <trenn@suse.de> | |
8 | ||
9 | References: http://bugzilla.kernel.org/show_bug.cgi?id=11884 | |
10 | ||
11 | Signed-off-by: Alexey Starikovskiy <astarikovskiy@suse.de> | |
12 | Signed-off-by: Len Brown <len.brown@intel.com> | |
13 | ||
14 | --- | |
15 | drivers/acpi/ec.c | 3 ++- | |
16 | 1 file changed, 2 insertions(+), 1 deletion(-) | |
17 | ||
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. | |
25 | */ | |
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))) | |
29 | return -ENODEV; | |
30 | install: | |
31 | if (!ec_install_handlers(boot_ec)) { |