diff mbox

[Fix,2/2] ACPI/EC: Add HP Folio 13 into ec_dmi_table in order to skip DSDT scan

Message ID 1369829040-31029-2-git-send-email-tianyu.lan@intel.com (mailing list archive)
State Changes Requested, archived
Headers show

Commit Message

lan,Tianyu May 29, 2013, 12:04 p.m. UTC
HP Folio 13's bios defines CMOS RTC operation region and EC _REG
method will access this region. In order to make CMOS RTC region
handler to be installed before EC _REG method being invoked, this
patch is to add ec_skip_dsdt_scan as HP Folio 13 entry's callback
into ec_dmi_table.

Reference: https://bugzilla.kernel.org/show_bug.cgi?id=54621
Cc: stable@vger.kernel.org
Reported-and-tested-by: Stefan Nagy <public@stefan-nagy.at>
Signed-off-by: Lan Tianyu <tianyu.lan@intel.com>
---
 drivers/acpi/ec.c |    4 ++++
 1 file changed, 4 insertions(+)
diff mbox

Patch

diff --git a/drivers/acpi/ec.c b/drivers/acpi/ec.c
index aabf4fe..42ab7c5 100644
--- a/drivers/acpi/ec.c
+++ b/drivers/acpi/ec.c
@@ -994,6 +994,10 @@  static struct dmi_system_id __initdata ec_dmi_table[] = {
 	ec_enlarge_storm_threshold, "CLEVO hardware", {
 	DMI_MATCH(DMI_SYS_VENDOR, "CLEVO Co."),
 	DMI_MATCH(DMI_PRODUCT_NAME, "M720T/M730T"),}, NULL},
+	{
+	ec_skip_dsdt_scan, "HP Folio 13", {
+	DMI_MATCH(DMI_SYS_VENDOR, "Hewlett-Packard"),
+	DMI_MATCH(DMI_PRODUCT_NAME, "HP Folio 13"),}, NULL},
 	{},
 };