ACPI/EC: Add "ASUSTEK L4R" to quirk list in order to validate ecdt
PATCH 1/1 ACPI/EC: Add "ASUSTEK L4R" to quirk list in order to validate ecdt
From: Lan Tianyu <[email protected]>
The ecdt of "ASUSTEK L4R" doesn't provide correct command and data io ports. The dsdt provides right info. So add this machine to quirk list to validate ecdt and use the EC info in the dsdt.
Reference: https://bugzilla.kernel.org/show_bug.cgi?id=60765
Reported-and-tested-by Daniele Esposti <[email protected]>
CC Daniele Esposti <[email protected]>
Signed-off-by Lan Tianyu <[email protected]>
--- drivers/acpi/ec.c | 4 ++++ 1 file changed, 4 insertions(+)
drivers/acpi/ec.c +4 -0
@@ -989,6 +989,10 @@ static struct dmi_system_id __initdata ec_dmi_table[] = { ec_skip_dsdt_scan, "HP Folio 13", {DMI_MATCH (DMI_SYS_VENDOR ,"Hewlett-Packard" ), DMI_MATCH(DMI_PRODUCT_NAME, "HP Folio 13"),}, NULL}, + { + ec_validate_ecdt, "ASUS hardware", { +DMI_MATCH (DMI_SYS_VENDOR ,"ASUSTek Computer Inc." ), + DMI_MATCH(DMI_PRODUCT_NAME, "L4R"),}, NULL}, {}, };
Signature · 1 line
1.8.4.rc0.1.g8f6a3e5.dirty