Home Home > GIT Browse
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTakashi Iwai <tiwai@suse.de>2017-11-17 15:17:22 +0100
committerTakashi Iwai <tiwai@suse.de>2017-11-17 15:17:41 +0100
commit16e292720df851ba24d750af513b1162e87b5a23 (patch)
tree99b86c3bcd9f1f68afb9e5afd848bc0d5dc52b77
parentfcda9b91923466c6eeded267f46e5a8e1b9bdca8 (diff)
ACPI / x86: Add KIOX000A accelerometer on GPD win to
always_present_ids array (bsc#1068546). suse-commit: cbffce950800d0778042a3f66cd2360eec8a4c09
-rw-r--r--drivers/acpi/x86/utils.c13
1 files changed, 13 insertions, 0 deletions
diff --git a/drivers/acpi/x86/utils.c b/drivers/acpi/x86/utils.c
index b0e16516adfd..36f37ccb8327 100644
--- a/drivers/acpi/x86/utils.c
+++ b/drivers/acpi/x86/utils.c
@@ -61,6 +61,19 @@ static const struct always_present_id always_present_ids[] = {
* on Cherry Trail devices, without it we get nobody cared IRQ msgs.
*/
ENTRY("INT0002", "1", ICPU(INTEL_FAM6_ATOM_AIRMONT), {}),
+ /*
+ * The GPD win BIOS dated 20170320 has disabled the accelerometer, the
+ * drivers sometimes cause crashes under Windows and this is how the
+ * manufacturer has solved this :| Note that the the DMI data is less
+ * generic then it seems, a board_vendor of "AMI Corporation" is quite
+ * rare and a board_name of "Default String" also is rare.
+ */
+ ENTRY("KIOX000A", "1", ICPU(INTEL_FAM6_ATOM_AIRMONT), {
+ DMI_MATCH(DMI_BOARD_VENDOR, "AMI Corporation"),
+ DMI_MATCH(DMI_BOARD_NAME, "Default string"),
+ DMI_MATCH(DMI_PRODUCT_NAME, "Default string"),
+ DMI_MATCH(DMI_BIOS_DATE, "03/20/2017")
+ }),
};
bool acpi_device_always_present(struct acpi_device *adev)