From patchwork Wed May 29 12:04:00 2013 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: "lan,Tianyu" X-Patchwork-Id: 2629541 Return-Path: X-Original-To: patchwork-linux-acpi@patchwork.kernel.org Delivered-To: patchwork-process-083081@patchwork2.kernel.org Received: from vger.kernel.org (vger.kernel.org [209.132.180.67]) by patchwork2.kernel.org (Postfix) with ESMTP id B237BDF24C for ; Wed, 29 May 2013 12:10:25 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S965564Ab3E2MKW (ORCPT ); Wed, 29 May 2013 08:10:22 -0400 Received: from mga01.intel.com ([192.55.52.88]:47531 "EHLO mga01.intel.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S965976Ab3E2MKW (ORCPT ); Wed, 29 May 2013 08:10:22 -0400 Received: from fmsmga002.fm.intel.com ([10.253.24.26]) by fmsmga101.fm.intel.com with ESMTP; 29 May 2013 05:10:21 -0700 X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="4.87,763,1363158000"; d="scan'208";a="345057230" Received: from lantianyu-ws.sh.intel.com (HELO localhost) ([10.239.36.18]) by fmsmga002.fm.intel.com with ESMTP; 29 May 2013 05:10:19 -0700 From: Lan Tianyu To: rjw@sisk.pl, lenb@kernel.org Cc: Lan Tianyu , linux-acpi@vger.kernel.org, public@stefan-nagy.at, stable@vger.kernel.org Subject: [Fix PATCH 2/2] ACPI/EC: Add HP Folio 13 into ec_dmi_table in order to skip DSDT scan Date: Wed, 29 May 2013 20:04:00 +0800 Message-Id: <1369829040-31029-2-git-send-email-tianyu.lan@intel.com> X-Mailer: git-send-email 1.7.9.5 In-Reply-To: <1369829040-31029-1-git-send-email-tianyu.lan@intel.com> References: <1369829040-31029-1-git-send-email-tianyu.lan@intel.com> Sender: linux-acpi-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-acpi@vger.kernel.org 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 Signed-off-by: Lan Tianyu --- drivers/acpi/ec.c | 4 ++++ 1 file changed, 4 insertions(+) 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}, {}, };