Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 235c4a59 authored by Alexey Starikovskiy's avatar Alexey Starikovskiy Committed by Len Brown
Browse files

ACPI: EC: Limit workaround for ASUS notebooks even more

parent c5976504
Loading
Loading
Loading
Loading
+2 −1
Original line number Diff line number Diff line
@@ -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)) {