mirror of
https://github.com/torvalds/linux.git
synced 2026-12-03 20:06:35 +00:00
Commita6021aa24f("ACPI: EC: make EC support compile-time conditional") only enable ACPI_EC on X86 by default, but the embedded controller is also widely used on LoongArch laptops so we also enable ACPI_EC for LoongArch. The laptop driver cannot work without EC, so also update the dependency of LOONGSON_LAPTOP to let it depend on APCI_EC. Fixes:a6021aa24f("ACPI: EC: make EC support compile-time conditional") Reported-by: Xiaotian Wu <[email protected]> Tested-by: Binbin Zhou <[email protected]> Signed-off-by: Huacai Chen <[email protected]> Link: https://patch.msgid.link/[email protected] [ rjw: Added Fixes: ] Signed-off-by: Rafael J. Wysocki <[email protected]>